thesportsdb-client
Toggle table of contents
0.1.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
thesportsdb-client
thesportsdb-client
/
io.github.rohang27.thesportsdb.http
/
HttpResponse
Http
Response
class
HttpResponse
(
val
status
:
Int
,
val
body
:
String
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
)
A plain HTTP response: what the library needs from a transport.
Members
Constructors
Http
Response
Link copied to clipboard
constructor
(
status
:
Int
,
body
:
String
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
)
Properties
body
Link copied to clipboard
val
body
:
String
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
status
Link copied to clipboard
val
status
:
Int
Functions
header
Link copied to clipboard
fun
header
(
name
:
String
)
:
String
?
Case-insensitive header lookup.