Body

open class Body

The content of the Request body

Constructors

Link copied to clipboard
constructor(requestBody: RequestBody)
constructor(content: Array<Byte>, contentType: String)
Construct body with byte[]
constructor(content: String, contentType: String)
Construct body with String

Properties

Link copied to clipboard
private open var content: Array<Byte>
Link copied to clipboard
private open var contentType: String
Link copied to clipboard
private open var requestBody: RequestBody