OkHttpMonixBackend

class OkHttpMonixBackend extends OkHttpAsyncBackend[Task, MonixStreams, MonixStreams & WebSockets]
Companion:
object
class OkHttpAsyncBackend[Task, MonixStreams, MonixStreams & WebSockets]
class OkHttpBackend[Task, MonixStreams, MonixStreams & WebSockets]
trait SttpBackend[Task, MonixStreams & WebSockets]
class Object
trait Matchable
class Any

Type members

Inherited types

type PE = P & Effect[F]
Inherited from:
OkHttpBackend

Value members

Inherited methods

override def close(): F[Unit]
Definition Classes
OkHttpBackend -> SttpBackend
Inherited from:
OkHttpBackend
override def send[T, R >: PE](request: Request[T, R]): F[Response[T]]
Type parameters:
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
override protected def sendRegular[T, R >: PE](request: Request[T, R]): F[Response[T]]
Definition Classes
OkHttpAsyncBackend -> OkHttpBackend
Inherited from:
OkHttpAsyncBackend
override protected def sendWebSocket[T, R >: PE](request: Request[T, R]): F[Response[T]]
Definition Classes
OkHttpAsyncBackend -> OkHttpBackend
Inherited from:
OkHttpAsyncBackend

Concrete fields

override val streams: MonixStreams

Implicits

Inherited implicits

implicit override val responseMonad: MonadAsyncError[Task]

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.

Inherited from:
OkHttpAsyncBackend