Package io.ktor.serialization.kotlinx.xml

Functions

Link copied to clipboard
fun Configuration.xml(format: XML = DefaultXml, contentType: ContentType = ContentType.Application.Xml)

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

Properties

Link copied to clipboard
val DefaultXml: XML

The default XML configuration. The settings are: