Package-level declarations

Types

Link copied to clipboard
class ClientConfig(scope: String? = null, connectionTimeout: Duration = Duration.ofSeconds(15), additionalHeaders: List<Header> = emptyList(), additionalFunctionalHeaders: List<FunctionalHeader> = emptyList())
Link copied to clipboard
class FunctionalHeader(val key: String, val supplier: () -> String)
Link copied to clipboard
class Header(key: String, value: String)
Link copied to clipboard
class RestClient<K>(config: ClientConfig, tokenProvider: TokenProvider, responseHandler: RestResponseHandler<K>)

Functions

Link copied to clipboard
inline fun <R> RestClient<InputStream>.get(uri: URI, request: GetRequest): R?
Link copied to clipboard
inline fun <T : Any, R> RestClient<InputStream>.patch(uri: URI, request: PatchRequest<T>): R?
Link copied to clipboard
inline fun <T : Any, R> RestClient<InputStream>.post(uri: URI, request: PostRequest<T>): R?
Link copied to clipboard
inline fun <T : Any, R> RestClient<InputStream>.put(uri: URI, request: PutRequest<T>): R?