FormUrlEncodedFormat

A BodyFormat for application/x-www-form-urlencoded bodies.

Properties

Link copied to clipboard
open override val contentType: String

The content type of the body.

Link copied to clipboard

The serialization engine that produced this format, if any.

Functions

Link copied to clipboard
open override fun decode(bytes: ByteArray, contentType: String): Map<String, List<String>>

Decodes the byte array into the type T.

Link copied to clipboard
open override fun encode(value: Map<String, List<String>>): ByteArray

Encodes the value into a byte array for transmission.