Response

data class Response<C>(val code: <Error class: unknown class> = OK, val content: C)

Class representing an HTTP response.

Parameters

code

the HttpStatusCode.

content

the content of the message.

Constructors

Link copied to clipboard
constructor(code: <Error class: unknown class> = OK, content: C)

Types

Link copied to clipboard
object Companion

Utility functions.

Properties

Link copied to clipboard
val code: <Error class: unknown class>
Link copied to clipboard
val content: C