FetchCatsBackend

sttp.client4.impl.cats.FetchCatsBackend
See theFetchCatsBackend companion object
class FetchCatsBackend[F[_]] extends AbstractFetchBackend[F, Nothing]

Attributes

Companion
object
Graph
Supertypes
class AbstractFetchBackend[F, Nothing]
trait WebSocketBackend[F]
trait Backend[F]
trait GenericBackend[F, Nothing & WebSockets]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type R = Nothing & WebSockets & Effect[F]

Attributes

Inherited from:
AbstractFetchBackend

Value members

Concrete methods

override def convertFromFuture: ConvertFromFuture[F]

Attributes

Definition Classes
AbstractFetchBackend

Inherited methods

override def close(): F[Unit]

Close the backend, releasing any resources (such as thread or connection pools) that have been allocated when opening or using the backend.

Close the backend, releasing any resources (such as thread or connection pools) that have been allocated when opening or using the backend.

Attributes

Definition Classes
AbstractFetchBackend -> GenericBackend
Inherited from:
AbstractFetchBackend
override def send[T](request: GenericRequest[T, R]): F[Response[T]]

Send the given request. Should only be used when implementing new backends, or backend wrappers. Client code should instead use the send methods on the request type, e.g. Request.send.

Send the given request. Should only be used when implementing new backends, or backend wrappers. Client code should instead use the send methods on the request type, e.g. Request.send.

Attributes

Definition Classes
AbstractFetchBackend -> GenericBackend
Inherited from:
AbstractFetchBackend

Concrete fields

override val streams: NoStreams

Implicits

Inherited implicits

implicit override def monad: MonadError[F]

A monad instance for the F effect type. Allows writing wrapper backends, which map/`flatMap`` over the return value of send.

A monad instance for the F effect type. Allows writing wrapper backends, which map/`flatMap`` over the return value of send.

Attributes

Definition Classes
AbstractFetchBackend -> GenericBackend
Inherited from:
AbstractFetchBackend