Response

data class Response<T>(status: Int, body: T?, headers: MutableMap<String, List<String>>, contentType: String?, inputStream: InputStream)

HTTP response fetched from a server request.

Constructors

Link copied to clipboard
fun <T> Response(status: Int, body: T?, headers: MutableMap<String, List<String>>, contentType: String?, inputStream: InputStream)

Properties

Link copied to clipboard
var body: T?
Link copied to clipboard
var contentType: String?
Link copied to clipboard
val headers: MutableMap<String, List<String>>
Link copied to clipboard
val inputStream: InputStream
Link copied to clipboard
var status: Int