ResponseDefinition

constructor(contentType: <Error class: unknown class> = ContentType.Application.Json, body: T? = null, httpStatus: <Error class: unknown class> = HttpStatusCode.OK, headers: <Error class: unknown class>.() -> Unit? = null, headerList: List<<Error class: unknown class><String, String>> = emptyList<Pair<String, String>>(), delay: <Error class: unknown class>)

Parameters

P

The type of the request body.

T

The type of the response body.