TypeInfo

data class TypeInfo

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: Type,
    kotlinType: KType? = null)

Ktor type information.

Properties

kotlinType

val kotlinType: KType?

: kotlin reified type with all generic type parameters.

reifiedType

val reifiedType: Type

: type with substituted generics

type

val type: KClass<*>

: source KClass<*>