# FMPResponse

data class FMPResponse(val request: FMPResponse.RequestInfo, val status: Int, val headers: Map<String, String>, val data: ByteArray, val exception: FMPException?, val error: String = exception?.message.orEmpty())

## Constructors

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

## Types

RequestInfo
Link copied to clipboard
data class RequestInfo(val url: String, val method: String, val data: ByteArray, val headers: Map<String, String>)

## Properties

data
Link copied to clipboard
val data: ByteArray
error
Link copied to clipboard
val error: String
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
status
Link copied to clipboard
val status: Int