ignoreType

inline fun <T> ignoreType()(source)

Adds a type to the list of types that should be ignored by ContentNegotiation.

The list contains the HttpStatusCode, ByteArray, String and streaming types by default.

Report a problem


fun ignoreType(type: KClass<*>)(source)

Adds a type to the list of types that should be ignored by ContentNegotiation.

The list contains the HttpStatusCode, ByteArray, String and streaming types by default.

Report a problem