ignoreType

inline fun <T> ignoreType()

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

The list contains the HttpStatusCode type by default.


fun ignoreType(type: KClass<*>)

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.