DefaultURLSession

class DefaultURLSession(client: OkHttpClient) : URLSessionProtocol

Default URLSessionProtocol implementation backed by OkHttp.

Constructors

Link copied to clipboard
constructor(client: OkHttpClient)

Functions

Link copied to clipboard
open suspend override fun execute(request: Request): Response

Executes request and returns the raw HTTP response.