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