ktor. http. content
Implementation of the OutgoingContent.ByteArrayContent for sending array of bytes
Specifies caching properties for an OutgoingContent such as Cache-Control or Expires
OutgoingContent to respond with ByteWriteChannel. The stream would be automatically closed after body finish.
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
This version passes the given lastModified date through the client provided http conditional headers If-Modified-Since and If-Unmodified-Since.
Represents a multipart data stream that could be received from a call
Information about the content to be sent to the peer, recognized by a client or server engine
OutgoingContent to respond with OutputStream. The stream would be automatically closed after body finish.
Represents a text content that could be sent
Represents a content that is served from the specified uri
Represent result of the version comparison between content being sent and HTTP request.
Represents a content that is produced by body function
Creates an instance of EntityTagVersion parsing the spec via EntityTagVersion.parseSingle.
Parse multipart data stream and invoke partHandler for each PartData encountered
Parse multipart data stream and put all parts into a list
Gets or sets CacheControl instance as an extension property on this content
Specifies a key for CacheControl extension property for OutgoingContent
Provides file item's content as an InputStream
Specifies a key for VersionList extension property for OutgoingContent