Package-level declarations

Functions

Link copied to clipboard
fun Configuration.protobuf(protobuf: ProtoBuf = DefaultProtoBuf, contentType: ContentType = ContentType.Application.ProtoBuf)

Registers the application/protobuf (or another specified contentType) content type to the ContentNegotiation plugin using kotlinx.serialization.

Properties

Link copied to clipboard
val DefaultProtoBuf: ProtoBuf

The default protobuf configuration used in KotlinxSerializationConverter. The settings are: