ApiImpl

open class ApiImpl(var client: HttpClient) : Api(source)

Implementation of API interface for http requests.

Constructors

Link copied to clipboard
constructor(client: HttpClient)

Properties

Link copied to clipboard
open override var client: HttpClient

Functions

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

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