Package-level declarations

Types

Link copied to clipboard
class OkHttpRequest(request: Request, httpClient: OkHttpClient, requestDispatcher: CoroutineDispatcher = Dispatchers.IO) : Request

Okhttp implementation of Request

Link copied to clipboard
class OkHttpRequestFactory(baseURI: URITemplate, httpClient: OkHttpClient = OkHttpClient(), eventHttpClient: OkHttpClient = httpClient.reconfiguredForEvents(), val mediaTypeEncoders: MediaTypeEncoders = MediaTypeEncoders.default, val mediaTypeDecoders: MediaTypeDecoders = MediaTypeDecoders.default) : RequestFactory, Closeable
Link copied to clipboard
class OkHttpResponse(response: Response, httpClient: OkHttpClient) : Response

Okhttp implementation of Response.

Functions

Link copied to clipboard
fun OkHttpClient.reconfiguredForEvents(): OkHttpClient

Copies the client, reconfiguring it for use with an EventSource.