cbor
fun Configuration.cbor(cbor: Cbor = DefaultCbor, contentType: ContentType = ContentType.Application.Cbor)
Content copied to clipboard
Registers the application/cbor
(or another specified contentType) content type to the ContentNegotiation plugin using kotlinx.serialization.
You can learn more from Content negotiation and serialization.
Parameters
cbor
format instance (optional)
contentType
to register with, application/cbor
by default