AbstractResponseDefinition

constructor(contentType: ContentType, httpStatus: HttpStatusCode = HttpStatusCode.OK, headers: ResponseHeaders.() -> Unit? = null, delay: Duration = Duration.ZERO)(source)

Type Parameters

T

The type of the response data.