ktor-http-cio / io.ktor.http.cio / HttpMessage

HttpMessage

abstract class HttpMessage

Represents a base HTTP message type for request and response

Properties

headers

val headers: HttpHeadersMap

request/response headers

Functions

close

open fun close(): Unit

Release all memory resources hold by this message

release

fun release(): Unit

Release all memory resources hold by this message

Inheritors

Request

class Request : HttpMessage

Represents an HTTP request

Response

class Response : HttpMessage

Represents an HTTP response