toggle menu
Karya
jvm
switch theme
search in API
core
/
karya.core.entities
/
Action
/
RestApiRequest
/
RestApiRequest
Rest
Api
Request
constructor
(
protocol
:
Protocol
=
Protocol.HTTP
,
baseUrl
:
String
,
method
:
Method
=
Method.GET
,
headers
:
Map
<
String
,
String
>
=
mapOf("content-type" to "application/json")
,
body
:
Body
=
Body.EmptyBody
,
timeout
:
Long
=
2000
)