FormDataContent
class FormDataContent : ByteArrayContent
OutgoingContent with for application/x-www-form-urlencoded formatted request.
Parameters
formData
- : data to send.
Constructors
FormDataContent(formData: Parameters) OutgoingContent with for application/x-www-form-urlencoded formatted request. |
Properties
val contentLength: Long Specifies content length in bytes for this resource. |
|
val contentType: ContentType Specifies ContentType for this resource. |
|
val formData: Parameters : data to send. |
Functions
fun bytes(): ByteArray Provides ByteArray which engine will send to peer |
Extension Properties
var OutgoingContent.caching: CachingOptions? Gets or sets CacheControl instance as an extension property on this content |
|
val OutgoingContent. Retrieves LastModified and ETag versions from this OutgoingContent headers |
|
var OutgoingContent.versions: List<Version> Gets or sets list of Version instances as an extension property on this content |
Extension Functions
suspend fun OutgoingContent.toByteArray(): ByteArray |
|
suspend fun OutgoingContent.toByteReadPacket(): ByteReadPacket |
|
fun OutgoingContent.wrapHeaders( Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block. |