toggle menu
flatInvoker
android
common
ios
js
jvm
switch theme
search in API
reaktor-io
/
dev.shibasis.reaktor.io.network
Package-level
declarations
Types
Functions
Properties
Types
Health
Check
Link copied to clipboard
object
HealthCheck
Properties
http
Client
Link copied to clipboard
android
common
ios
js
jvm
actual
val
httpClient
:
HttpClient
expect
val
httpClient
:
HttpClient
actual
val
httpClient
:
HttpClient
actual
val
httpClient
:
HttpClient
actual
val
httpClient
:
HttpClient
ok
Link copied to clipboard
val
HttpResponse
.
ok
:
Boolean
server
Ip
Link copied to clipboard
var
serverIp
:
String
?
Functions
get
Json
Link copied to clipboard
inline suspend
fun
<
O
>
HttpClient
.
getJson
(
url
:
String
)
:
Result
<
O
>
get
Server
IP
Link copied to clipboard
suspend
fun
getServerIP
(
)
:
Result
<
String
>
middleware
Link copied to clipboard
fun
<
T
:
HttpClientEngineConfig
>
HttpClientConfig
<
T
>
.
middleware
(
)
post
Json
Link copied to clipboard
inline suspend
fun
<
I
,
O
>
HttpClient
.
postJson
(
url
:
String
,
body
:
I
)
:
Result
<
O
>
replace
Link copied to clipboard
fun
HeadersBuilder
.
replace
(
key
:
String
,
value
:
String
)
to
Json
Element
Result
Link copied to clipboard
inline suspend
fun
HttpResponse
.
toJsonElementResult
(
)
:
Result
<
JsonElement
>
to
Result
Link copied to clipboard
inline suspend
fun
<
T
>
HttpResponse
.
toResult
(
)
:
Result
<
T
>