toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.net.http
/
HttpRestClient
Http
Rest
Client
class
HttpRestClient
(
val
endpoint
:
HttpClientEndpoint
)
Members
Constructors
Http
Rest
Client
Link copied to clipboard
constructor
(
endpoint
:
HttpClientEndpoint
)
Properties
endpoint
Link copied to clipboard
val
endpoint
:
HttpClientEndpoint
Functions
delete
Link copied to clipboard
suspend
fun
delete
(
path
:
String
)
:
Any
get
Link copied to clipboard
suspend
fun
get
(
path
:
String
)
:
Any
head
Link copied to clipboard
suspend
fun
head
(
path
:
String
)
:
Any
post
Link copied to clipboard
suspend
fun
post
(
path
:
String
,
content
:
Any
?
)
:
Any
suspend
fun
post
(
path
:
String
,
contentJsonString
:
String
)
:
Any
put
Link copied to clipboard
suspend
fun
put
(
path
:
String
,
content
:
Any
?
)
:
Any
suspend
fun
put
(
path
:
String
,
contentJsonString
:
String
)
:
Any
request
Link copied to clipboard
suspend
fun
request
(
method
:
Http.Method
,
path
:
String
,
contentJsonString
:
String
?
)
:
Any