MultipartBody
An RFC 2387-compliant request body.
Types
Functions
Link copied to clipboard
Returns the number of bytes that will be written to sink in a call to writeTo, or -1 if that count is unknown.
Link copied to clipboard
A combination of type and boundaryByteString.
Link copied to clipboard
Returns a gzip version of the RequestBody, with compressed payload. This is not automatic as not all servers support gzip compressed requests.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Writes the content of this request to sink.