ScalaCliSttpBackend

scala.cli.commands.util.ScalaCliSttpBackend
See theScalaCliSttpBackend companion object
class ScalaCliSttpBackend(underlying: SttpBackend[Identity, Any], logger: Logger) extends SttpBackend[Identity, Any]

Attributes

Companion
object
Graph
Supertypes
trait SttpBackend[Identity, Any]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

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