Response

fun Response(status: Int, headers: Headers, body: String)

Parameters

status

The HTTP status code provided at the start of the response.

headers

Any key-value pairs included at the start of the response.

body

The main contents of the response.