korlibs
Toggle table of contents
6.1.0-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
korlibs
korlibs-io
/
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