HttpServerResponse
data class HttpServerResponse( val body: Any = "", val headers: HttpFields<Header> = HttpFields(), val contentType: ContentType? = null, val cookies: List<HttpCookie> = emptyList(), val status: HttpStatus = NOT_FOUND) : HttpResponse
Content copied to clipboard
Constructors
Link copied to clipboard
fun HttpServerResponse( body: Any = "", headers: HttpFields<Header> = HttpFields(), contentType: ContentType? = null, cookies: List<HttpCookie> = emptyList(), status: HttpStatus = NOT_FOUND)
Content copied to clipboard