toggle menu
khttpclient
0.0.2
common
switch theme
search in API
khttpclient
/
work.socialhub.khttpclient
/
HttpResponse
Http
Response
class
HttpResponse
(
val
status
:
Int
,
val
headers
:
Map
<
String
,
List
<
String
>
>
,
val
body
:
ByteArray
)
Members
Constructors
Http
Response
Link copied to clipboard
constructor
(
status
:
Int
,
headers
:
Map
<
String
,
List
<
String
>
>
,
body
:
ByteArray
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
body
Link copied to clipboard
val
body
:
ByteArray
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
List
<
String
>
>
status
Link copied to clipboard
val
status
:
Int
string
Body
Link copied to clipboard
val
stringBody
:
String
Functions
typed
Body
Link copied to clipboard
inline
fun
<
T
>
typedBody
(
json
:
Json
=
mapper
)
:
T