FetchMonixBackend

sttp.client3.impl.monix.FetchMonixBackend
See theFetchMonixBackend companion object
class FetchMonixBackend extends AbstractFetchBackend[Task, MonixStreams, MonixStreams & WebSockets]

Uses the ReadableStream interface from the Streams API.

Streams are behind a flag on Firefox.

Note that no browsers support a stream request body so it is converted into an in memory array first.

Attributes

See also
Companion
object
Graph
Supertypes
class AbstractFetchBackend[Task, MonixStreams, MonixStreams & WebSockets]
trait SttpBackend[Task, MonixStreams & WebSockets]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type PE = P & Effect[F] & WebSockets

Attributes

Inherited from:
AbstractFetchBackend

Value members

Inherited methods

override def close(): F[Unit]

Attributes

Definition Classes
AbstractFetchBackend -> SttpBackend
Inherited from:
AbstractFetchBackend
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]).

Attributes

Definition Classes
AbstractFetchBackend -> SttpBackend
Inherited from:
AbstractFetchBackend

Concrete fields

override val streams: MonixStreams

Implicits

Implicits

implicit override def convertFromFuture: ConvertFromFuture[Task]

Attributes

Definition Classes
AbstractFetchBackend

Inherited implicits

implicit override def responseMonad: MonadError[F]

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

Definition Classes
AbstractFetchBackend -> SttpBackend
Inherited from:
AbstractFetchBackend