network
Toggle table of contents
0.2.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
network
network
/
io.devconsole.network
/
NetworkResponseInput
Network
Response
Input
data
class
NetworkResponseInput
(
val
statusCode
:
Int
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
val
body
:
ByteArray
?
=
null
,
val
contentType
:
String
?
=
null
,
val
protocol
:
String
?
=
null
,
val
error
:
String
?
=
null
)
Members
Constructors
Network
Response
Input
Link copied to clipboard
constructor
(
statusCode
:
Int
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
body
:
ByteArray
?
=
null
,
contentType
:
String
?
=
null
,
protocol
:
String
?
=
null
,
error
:
String
?
=
null
)
Properties
body
Link copied to clipboard
val
body
:
ByteArray
?
content
Type
Link copied to clipboard
val
contentType
:
String
?
error
Link copied to clipboard
val
error
:
String
?
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
metadata
Link copied to clipboard
var
metadata
:
NetworkResponseMetadata
protocol
Link copied to clipboard
val
protocol
:
String
?
status
Code
Link copied to clipboard
val
statusCode
:
Int
Functions
with
Metadata
Link copied to clipboard
fun
withMetadata
(
metadata
:
NetworkResponseMetadata
)
:
NetworkResponseInput