Package-level declarations
Functions
Link copied to clipboard
fun <Params, Result> HttpApiEndpoint(url: (Params) -> String, mapResponse: suspend (HttpResponse) -> Result): HttpApiEndpoint<Params, Result>
Creates an HttpApiEndpoint with the given URL and response mapping.
Link copied to clipboard
suspend fun <Result> HttpClient.makeRequest(url: String, resultMapper: suspend (HttpResponse) -> Result): Result
Makes a web request to the specified URL and returns the result of the request.