accept
fun Route.accept(contentType: ContentType, build: Route.() -> Unit): Route
Content copied to clipboard
Builds a route to match requests with HttpHeaders.Accept header matching specified contentType
Builds a route to match requests with HttpHeaders.Accept header matching specified contentType