Response

data class Response(val code: Int, val body: String)

Response class for HttpClient

Parameters

code

is the result of the number.

body

is the result of the string.

Constructors

Link copied to clipboard
fun Response(code: Int, body: String)

Properties

Link copied to clipboard
val body: String
Link copied to clipboard
val code: Int