# Response

data class Response(val request: FMPRequest.Request = Request(), val status: Int = -1, val data: ByteArray = byteArrayOf(), val headers: Map<String, String> = mapOf(), val exception: FMPException? = null, val error: String = exception?.message.orEmpty())

Ответ HTTP запроса.

#### Since

22.04.01

## Constructors

Response
Link copied to clipboard
constructor(request: FMPRequest.Request = Request(), status: Int = -1, data: ByteArray = byteArrayOf(), headers: Map<String, String> = mapOf(), exception: FMPException? = null, error: String = exception?.message.orEmpty())

## Types

Companion
Link copied to clipboard
object Companion

## 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? = null
headers
Link copied to clipboard
val headers: Map<String, String>
isOK
Link copied to clipboard
val isOK: Boolean
request
Link copied to clipboard
val request: FMPRequest.Request
status
Link copied to clipboard
val status: Int