# 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

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

## Types

RequestInfo
Link copied to clipboard
data class RequestInfo(val url: String, val method: String, val data: ByteArray, val headers: Map<String, String>)
Stats
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

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