Package-level declarations

problemXml registers ProblemXmlConverter for application/problem+xml.

Unlike problemJson(), there is no "also accept the plain type" flag: application/xml is not registered, and no equivalent of acceptPlainJson exists. A client that wants an XML problem document asks for application/problem+xml.

Types

Link copied to clipboard

Reads and writes application/problem+xml bodies for ContentNegotiation.

Functions

Link copied to clipboard

Registers the application/problem+xml converter on Ktor's own ContentNegotiation.