HttpRestClient

class HttpRestClient(val endpoint: HttpClientEndpoint)

Constructors

Link copied to clipboard
constructor(endpoint: HttpClientEndpoint)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun delete(path: String): Any
Link copied to clipboard
suspend fun get(path: String): Any
Link copied to clipboard
suspend fun head(path: String): Any
Link copied to clipboard
suspend fun post(path: String, content: Any?): Any
suspend fun post(path: String, contentJsonString: String): Any
Link copied to clipboard
suspend fun put(path: String, content: Any?): Any
suspend fun put(path: String, contentJsonString: String): Any
Link copied to clipboard
suspend fun request(method: Http.Method, path: String, contentJsonString: String?): Any