RequestContentEntry

sealed class RequestContentEntry

A piece of content to send with a request.

Parameters

contentType
The value of the Content-Type header for this request part.
partName
The name of the part if this is one entry in a multipart-form/data request.

Inheritors

Types

Link copied to clipboard
class Bytes(val bytes: ByteArray, val contentType: String, val partName: String?) : HttpHandler.HttpRequest.RequestContentEntry

Bytes content to send with a request.

Link copied to clipboard
class Empty(val contentType: String, val partName: String?) : HttpHandler.HttpRequest.RequestContentEntry

Empty content to send with a request.

Link copied to clipboard
class File(val file: File, val contentType: String, val partName: String?) : HttpHandler.HttpRequest.RequestContentEntry

File content to send with a request.

Properties

Link copied to clipboard
Link copied to clipboard