EitherBackend

sttp.client4.wrappers.EitherBackend$
object EitherBackend

A synchronous backend that safely wraps exceptions in Either[Throwable, *]'s

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(backend: SyncBackend): Backend[[_] =>> Either[Throwable, _$1]]
def apply(backend: WebSocketBackend[Identity]): WebSocketBackend[[_] =>> Either[Throwable, _$2]]
def apply[S](backend: StreamBackend[Identity, S]): StreamBackend[[_] =>> Either[Throwable, _$3], S]
def apply[S](backend: WebSocketStreamBackend[Identity, S]): WebSocketStreamBackend[[_] =>> Either[Throwable, _$4], S]