SuspendingRequestSession

A request session that will suspend and perform blocking operations on a thread pool.

Constructors

Link copied to clipboard
constructor(requestSession: RequestSession)

Functions

Link copied to clipboard
suspend fun execute(request: Request): RequestResult<Unit>
suspend fun <T> execute(request: Request, parser: ResponseParser<T?>): RequestResult<T>