Api

interface Api(source)

Interface that defines an API request

Inheritors

Properties

Link copied to clipboard
abstract var client: HttpClient

Functions

Link copied to clipboard
abstract suspend fun request(httpMethod: String, url: String, urlParameters: Array<KeyValue> = emptyArray(), httpHeaders: Array<KeyValue> = emptyArray(), body: Any?): HttpResponse

Makes an HTTP request using the specified HTTP method, URL, URL parameters, HTTP headers, and request body.