Package-level declarations

Types

Link copied to clipboard
class ByteArrayConverter : ContentConverter

A ContentConverter which does nothing, it simply passes byte arrays through as they are. This is useful if you want to register your own custom binary content type with the ContentNegotiation plugin.

Properties

Link copied to clipboard
val ContentType.Application.JoseJson: ContentType
Link copied to clipboard
val ContentType.Message.Mls: ContentType
Link copied to clipboard
val ContentType.Application.XProtoBuf: ContentType

Functions

Link copied to clipboard
fun Configuration.mls(contentType: ContentType = ContentType.Message.Mls)
Link copied to clipboard
fun Configuration.xprotobuf(contentType: ContentType = ContentType.Application.XProtoBuf)