MultipartRequest

class MultipartRequest(url: String, method: String, body: List<MultipartRequest.Part<*>>?) : Request<List<MultipartRequest.Part<*>>>

Multipart data request.

Constructors

MultipartRequest
Link copied to clipboard
fun MultipartRequest(url: String, method: String, body: List<MultipartRequest.Part<*>>?)

Types

BitmapPart
Link copied to clipboard
class BitmapPart(name: String, body: Bitmap) : MultipartRequest.Part<Bitmap>
Bitmap Part object.
Part
Link copied to clipboard
abstract class Part<T>(name: String)
Part object class
StringPart
Link copied to clipboard
class StringPart(name: String, body: String) : MultipartRequest.Part<String>
String Part object.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

body
Link copied to clipboard
open override var body: List<MultipartRequest.Part<*>>?
Request body
headers
Link copied to clipboard
val headers: MutableMap<String, String>
HTTP headers
method
Link copied to clipboard
val method: String
HTTP Request method
url
Link copied to clipboard
val url: String
Request url