Response Definition
constructor(contentType: ContentType = ContentType.Application.Json, body: T? = null, httpStatusCode: Int = 200, httpStatus: HttpStatusCode = HttpStatusCode.fromValue(httpStatusCode), headers: ResponseHeaders.() -> Unit? = null, delay: Duration, formatter: HttpFormatter)(source)
Parameters
P
The type of the request body.
T
The type of the response body.