Package-level declarations
Functions
Link copied to clipboard
Appends json content-type to this instance.
Link copied to clipboard
inline fun <T : Any> jsonResponse(body: T, init: ResponseInit = ResponseInit(
status = 200,
statusText = "OK",
headers = Headers().apply {
jsonContentType()
}
)): Response