network
Toggle table of contents
1.0.1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
network
network
/
io.devconsole.network
/
NetworkRequestInput
Network
Request
Input
data
class
NetworkRequestInput
(
val
method
:
String
,
val
url
:
String
,
val
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
val
body
:
ByteArray
?
=
null
,
val
contentType
:
String
?
=
null
,
val
correlationId
:
String
?
=
null
,
val
pluginId
:
String
=
"network"
)
Members
Constructors
Network
Request
Input
Link copied to clipboard
constructor
(
method
:
String
,
url
:
String
,
headers
:
Map
<
String
,
String
>
=
emptyMap()
,
body
:
ByteArray
?
=
null
,
contentType
:
String
?
=
null
,
correlationId
:
String
?
=
null
,
pluginId
:
String
=
"network"
)
Properties
body
Link copied to clipboard
val
body
:
ByteArray
?
content
Type
Link copied to clipboard
val
contentType
:
String
?
correlation
Id
Link copied to clipboard
val
correlationId
:
String
?
headers
Link copied to clipboard
val
headers
:
Map
<
String
,
String
>
metadata
Link copied to clipboard
var
metadata
:
NetworkRequestMetadata
method
Link copied to clipboard
val
method
:
String
plugin
Id
Link copied to clipboard
val
pluginId
:
String
url
Link copied to clipboard
val
url
:
String
Functions
with
Metadata
Link copied to clipboard
fun
withMetadata
(
metadata
:
NetworkRequestMetadata
)
:
NetworkRequestInput