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