OkHttpSyncBackend

sttp.client3.okhttp.OkHttpSyncBackend
See theOkHttpSyncBackend companion object
class OkHttpSyncBackend extends OkHttpBackend[Identity, Nothing, WebSockets]

Attributes

Companion:
object
Graph
Supertypes
class OkHttpBackend[Identity, Nothing, WebSockets]
trait SttpBackend[Identity, WebSockets]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type PE = P & Effect[F]

Attributes

Inherited from:
OkHttpBackend

Value members

Inherited methods

override def close(): F[Unit]

Attributes

Definition Classes
OkHttpBackend -> SttpBackend
Inherited from:
OkHttpBackend
override def send[T, R >: PE](request: Request[T, R]): F[Response[T]]

Attributes

R

The capabilities required by the request. This must be a subset of the the capabilities supported by the backend (which always includes Effect[F]).

Definition Classes
OkHttpBackend -> SttpBackend
Inherited from:
OkHttpBackend

Concrete fields

override val responseMonad: MonadError[Identity]

A monad instance for the effect type used when returning responses. Allows writing wrapper backends, which map/flatMap over the return value of send.

A monad instance for the effect type used when returning responses. Allows writing wrapper backends, which map/flatMap over the return value of send.

Attributes

override val streams: Streams[Nothing]