All Types

io.ktor.http.auth.AuthScheme

Contains the standard auth schemes.

io.ktor.http.BadContentTypeFormatException

Exception thrown when a content type string is malformed.

io.ktor.content.ByteArrayContent
io.ktor.http.content.ByteArrayContent

Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes

io.ktor.http.CacheControl

Represents a value for a Cache-Control header

io.ktor.http.content.CachingOptions

Specifies caching properties for an OutgoingContent such as Cache-Control or Expires

io.ktor.http.content.ChannelWriterContent

OutgoingContent to respond with ByteWriteChannel. The stream would be automatically closed after body finish.

io.ktor.http.ContentDisposition

Represents Content-Disposition header value

io.ktor.http.ContentRange

Represents a Range header's particular range

io.ktor.http.ContentType

Represents a value for a Content-Type header.

io.ktor.http.ContentTypeMatcher

Interface for any objects that can match a ContentType.

io.ktor.http.Cookie

Represents a cookie with name, content and a set of settings such as expiration, visibility and security. A cookie with neither expires nor maxAge is a session cookie.

io.ktor.http.CookieEncoding

Cooke encoding strategy

io.ktor.http.EmptyHeaders
io.ktor.http.EmptyParameters
io.ktor.http.content.EntityTagVersion

This version checks etag value and pass it through conditions supplied by the remote client. Depending on conditions it produces return value of enum type VersionCheckResult

io.ktor.util.date.GMTDate (extensions in package io.ktor.http)
io.ktor.http.HeaderValue

Represents a header value. Similar to HeaderValueWithParameters

io.ktor.http.auth.HeaderValueEncoding

Describes how a header should be encoded.

io.ktor.http.HeaderValueParam

Represents a single value parameter

io.ktor.http.HeaderValueWithParameters

Represents a header value that consist of content followed by parameters. Useful for headers such as Content-Type, Content-Disposition and so on.

io.ktor.http.Headers

Represents HTTP headers as a map from case-insensitive names to collection of String values

io.ktor.http.HeadersBuilder
io.ktor.http.HeadersImpl
io.ktor.http.HeadersSingleImpl
io.ktor.http.auth.HttpAuthHeader

Describes an authentication header with a mandatory authScheme that usually is a standard AuthScheme.

io.ktor.http.HttpHeaders
io.ktor.http.HttpMessage

A message either from the client or the server, that has headers associated.

io.ktor.http.HttpMessageBuilder

A builder message either for the client or the server, that has a headers builder associated.

io.ktor.http.HttpMethod

Represents an HTTP method (verb)

io.ktor.http.HttpProtocolVersion

Represents an HTTP protocol version.

io.ktor.http.HttpStatusCode

Represents an HTTP status code and description.

io.ktor.http.IllegalHeaderNameException

Thrown when an illegal header name was used. A header name should only consist from visible characters without delimiters "double quote" and the following characters: (),/:;<=>?@[\]{}.

io.ktor.http.IllegalHeaderValueException

Thrown when an illegal header value was used. A header value should only consist from visible characters, spaces and/or HTAB (0x09).

kotlin.collections.Iterable (extensions in package io.ktor.http)
io.ktor.http.content.LastModifiedVersion

This version passes the given lastModified date through the client provided http conditional headers If-Modified-Since and If-Unmodified-Since.

io.ktor.http.LinkHeader

Represents a Link header value as per RFC 5988

kotlin.collections.List (extensions in package io.ktor.http)
io.ktor.http.content.MultiPartData

Represents a multipart data stream that could be received from a call

io.ktor.http.content.OutgoingContent

Information about the content to be sent to the peer, recognized by a client or server engine

io.ktor.http.content.OutputStreamContent

OutgoingContent to respond with OutputStream. The stream would be automatically closed after body finish.

io.ktor.http.Parameters

Represents HTTP parameters as a map from case-insensitive names to collection of String values

io.ktor.http.ParametersBuilder
io.ktor.http.ParametersImpl
io.ktor.http.ParametersSingleImpl
io.ktor.http.parsing.ParseException

Thrown to indicate that the application has attempted to convert a string to one of the specific types, but that the string does not have the appropriate format. Please check the message for more details on the failure.

io.ktor.http.content.PartData

Represents a multipart/form-data entry. Could be a FormItem or FileItem

io.ktor.http.RangeUnits

Possible content range units: bytes and none

io.ktor.http.RangesSpecifier

Range specifier for partial content requests (RFC 2616 sec 14.35.1)

io.ktor.http.RequestConnectionPoint

Represents request address information is used to make a call. There are at least two possible instances: "local" is how we see request at the server application and "actual" is what we can recover from proxy provided headers.

kotlin.String (extensions in package io.ktor.http)
io.ktor.util.StringValuesBuilder (extensions in package io.ktor.http)
io.ktor.content.TextContent
io.ktor.http.content.TextContent

Represents a text content that could be sent

io.ktor.http.content.URIFileContent

Represents a content that is served from the specified uri

io.ktor.http.URLBuilder

A URL builder with all mutable components

io.ktor.http.URLDecodeException

URL decoder exception

io.ktor.http.URLParserException

Thrown when failed to parse URL

io.ktor.http.URLProtocol

Represents URL protocol

io.ktor.http.UnsafeHeaderException

Thrown when an attempt to set unsafe header detected. A header is unsafe if listed in HttpHeaders.UnsafeHeadersList.

io.ktor.http.Url

Represents an immutable URL

io.ktor.http.content.Version

Represents content version

io.ktor.http.content.VersionCheckResult

Represent result of the version comparison between content being sent and HTTP request.

io.ktor.http.content.WriterContent

Represents a content that is produced by body function