MultipartRequestBody

class MultipartRequestBody(    boundary: ByteString,     parts: Queue<MultipartRequestBody.Part>,     pipe: Pipe,     close: Boolean,     val call: Call?) : RequestBody

Constructors

Link copied to clipboard
fun MultipartRequestBody(    boundary: ByteString,     parts: Queue<MultipartRequestBody.Part>,     pipe: Pipe,     close: Boolean,     call: Call?)

Types

Link copied to clipboard
open class Builder
Link copied to clipboard
object Companion
Link copied to clipboard
class Part

Functions

Link copied to clipboard
fun cancel()
Link copied to clipboard
open fun contentLength(): Long
Link copied to clipboard
open override fun contentType(): MediaType
Link copied to clipboard
fun isCanceled(): Boolean
Link copied to clipboard
open override fun isDuplex(): Boolean
Link copied to clipboard
open fun isOneShot(): Boolean
Link copied to clipboard
fun newBuilder(): MultipartRequestBody.Builder
Link copied to clipboard
open override fun writeTo(sink: BufferedSink)

Properties

Link copied to clipboard
val call: Call?