FetchBackend

sttp.client3.FetchBackend
See theFetchBackend companion object
class FetchBackend extends AbstractFetchBackend[Future, Nothing, WebSockets]

Attributes

Companion
object
Graph
Supertypes
class AbstractFetchBackend[Future, Nothing, WebSockets]
trait SttpBackend[Future, 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

Concrete methods

override def convertFromFuture: ConvertFromFuture[Future]

Attributes

Definition Classes

Inherited methods

override def close(): F[Unit]

Attributes

Definition Classes
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
Inherited from:
AbstractFetchBackend

Concrete fields

override val streams: NoStreams

Implicits

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
Inherited from:
AbstractFetchBackend