HttpClientSyncBackend

sttp.client3.HttpClientSyncBackend
See theHttpClientSyncBackend companion object
class HttpClientSyncBackend extends HttpClientBackend[Identity, Nothing, Any, InputStream]

Attributes

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

Members list

Concise view

Type members

Inherited types

type PE = P & Effect[F]

Attributes

Inherited from:
HttpClientBackend

Value members

Concrete methods

override def 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

Definition Classes
override def send[T, R >: PE](request: Request[T, R]): Identity[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

Inherited methods

override def close(): F[Unit]

Attributes

Definition Classes
Inherited from:
HttpClientBackend

Concrete fields

override val streams: NoStreams