ktor-client-core / io.ktor.client.call / TypeInfo

TypeInfo

data class TypeInfo : TypeInfo
Deprecated: This was moved to another package.

Ktor type information.

Parameters

type - : source KClass<*>

reifiedType - : type with substituted generics

kotlinType - : kotlin reified type with all generic type parameters.

Constructors

<init>

TypeInfo(type: KClass<*>, reifiedType: <ERROR CLASS>, kotlinType: KType? = null)

Ktor type information.

Properties

kotlinType

val kotlinType: KType?

: kotlin reified type with all generic type parameters.

reifiedType

val reifiedType: <ERROR CLASS>

: type with substituted generics

type

val type: KClass<*>

: source KClass<*>