Package io.ktor.http.cio
Types
An adapter from CIO low-level headers map to ktor Headers interface
Represents a multipart data object that does parse and convert parts to ktor's PartData
Decoder job type
Encoder job type
A headers map data structure used in CIO
Represents a base HTTP message type for request and response
Represents a multipart content starting event. Every part need to be completely consumed or released via release
An HTTP parser exception
Represents an HTTP request
Builds an HTTP request or response
Builds an HTTP request or response
Builds an HTTP request or response
Builds an HTTP request or response
Represents an HTTP response
Functions
Skip multipart boundary
Start a chunked stream decoder coroutine
Chunked stream decoding loop
Chunked stream encoding loop
Start chunked stream encoding coroutine
Check if we have multipart content
Parse multipart boundary encoded in contentType header value
Parse http headers. Not applicable to request and response status lines.
Parse HTTP request or response body using request/response's headers writing it to out. Usually doesn't fail but closing out channel with error.
Parse HTTP request or response body using contentLength, transferEncoding and connectionOptions writing it to out. Usually doesn't fail but closing out channel with error.
Starts a multipart parser coroutine producing multipart events
Parse multipart part headers
Parse a multipart preamble
Parse an HTTP request line and headers
Parse an HTTP response status line and headers