HttpRequester

open class HttpRequester(url: String)

Constructors

Link copied to clipboard
constructor(url: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun buildHttpRequest(url: String, method: String, headers: MutableMap<String, String> = mutableMapOf(), body: MutableMap<String, Any> = mutableMapOf()): HttpRequest
Link copied to clipboard
inline fun <T> delete(path: String, headers: MutableMap<String, String>): T
Link copied to clipboard
inline fun <T> get(path: String, headers: MutableMap<String, String>): T
Link copied to clipboard
inline fun <T> post(path: String, headers: MutableMap<String, String>, body: MutableMap<String, Any>): T
Link copied to clipboard
inline fun <T> put(path: String, headers: MutableMap<String, String>, body: MutableMap<String, Any>): T