RequestBody

constructor(bytes: ByteArray, contentType: String?)(source)

Parameters

bytes

the body; copied.

contentType

an RFC 9110 media type (its visible-ASCII subset), or null for none.