space-engineers-api
0.9.0
common
space-engineers-api
/
spaceEngineers.transport.jsonrpc
/
KotlinJsonRpcRequest
Kotlin
Json
Rpc
Request
common
@
Serializable
data
class
KotlinJsonRpcRequest
(
val
id
:
Long
,
val
jsonrpc
:
String
=
"2.0"
,
val
method
:
String
,
val
params
:
Map
<
String
,
JsonElement
?
>
)
Content copied to clipboard
Constructors
Properties
Constructors
Kotlin
Json
Rpc
Request
Link copied to clipboard
common
fun
KotlinJsonRpcRequest
(
id
:
Long
,
jsonrpc
:
String
=
"2.0"
,
method
:
String
,
params
:
Map
<
String
,
JsonElement
?
>
)
Content copied to clipboard
Properties
id
Link copied to clipboard
common
val
id
:
Long
Content copied to clipboard
jsonrpc
Link copied to clipboard
common
val
jsonrpc
:
String
Content copied to clipboard
method
Link copied to clipboard
common
val
method
:
String
Content copied to clipboard
params
Link copied to clipboard
common
val
params
:
Map
<
String
,
JsonElement
?
>
Content copied to clipboard