Part

class Part(val headers: List<HttpHeader>, val body: BufferedSource) : Closeable

A single part in a multipart body.

Constructors

Link copied to clipboard
fun Part(headers: List<HttpHeader>, body: BufferedSource)

Functions

Link copied to clipboard
expect open override fun close()

Properties

Link copied to clipboard
val body: BufferedSource
Link copied to clipboard
val headers: List<HttpHeader>