FMPResponse

data class FMPResponse(val request: FMPResponse.RequestInfo, val status: Int, val headers: Map<String, String>, val data: ByteArray, val exception: FMPException?, var stats: FMPResponse.Stats)

Constructors

Link copied to clipboard
constructor(request: FMPResponse.RequestInfo, status: Int, headers: Map<String, String>, data: ByteArray, exception: FMPException?, stats: FMPResponse.Stats)

Types

Link copied to clipboard
data class RequestInfo(val url: String, val method: String, val data: ByteArray, val headers: Map<String, String>)
Link copied to clipboard
data class Stats(var connectionTime: Long = 0, var downloadSize: Long = 0, var downloadTime: Long = 0, var responseTime: Long = 0, var uploadSize: Long = 0, var uploadTime: Long = 0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Int