HttpRequestResult

constructor(url: String, method: String, statusCode: Int, content: ByteArray, headers: Map<String, List<String>>)

Parameters

url

URL of the queried resource.

method

HTTP method of the request.

statusCode

HTTP status code of the response. Might be set to -1 by internal libGDX implementation or if the status could not be determined.

content

response body stored as raw bytes.

headers

HTTP header values of the response. Might be empty.