Builder

open class Builder

Constructors

Link copied to clipboard
fun Builder()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addFormDataPart(    name: String,     filename: String? = null,     headers: Headers? = null,     body: RequestBody): MultipartRequestBody.Builder

Add a form data part to the body.

Link copied to clipboard
fun build(): MultipartRequestBody

Assemble the specified parts into a request body.

Link copied to clipboard
fun call(call: Call): MultipartRequestBody.Builder
Link copied to clipboard
fun close(close: Boolean): MultipartRequestBody.Builder