sttp.client4.wrappers

Members list

Type members

Classlikes

abstract class DelegateBackend[F[_], +P](delegate: GenericBackend[F, P]) extends GenericBackend[F, P]

A base class for delegate backends, which includes delegating implementations for close and monad, so that only send needs to be defined.

A base class for delegate backends, which includes delegating implementations for close and monad, so that only send needs to be defined.

Attributes

Supertypes
trait GenericBackend[F, P]
class Object
trait Matchable
class Any
Known subtypes
abstract class DigestAuthenticationBackend[F[_], P] extends DelegateBackend[F, P]

Attributes

Companion
object
Supertypes
class DelegateBackend[F, P]
trait GenericBackend[F, P]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object EitherBackend

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

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

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
abstract class FollowRedirectsBackend[F[_], P] extends DelegateBackend[F, P]

Attributes

Companion
object
Supertypes
class DelegateBackend[F, P]
trait GenericBackend[F, P]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class FollowRedirectsConfig(contentHeaders: Set[String], sensitiveHeaders: Set[String], transformUri: Uri => Uri)

Value parameters

transformUri

Defines if and how Uri s from the Location header should be transformed. For example, this enables changing the encoding of host, path, query and fragment segments to be more strict or relaxed.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class MappedEffectBackend[F[_], G[_], P](backend: GenericBackend[F, P], f: FunctionK[F, G], g: FunctionK[G, F], m: MonadError[G]) extends GenericBackend[G, P]

Attributes

Companion
object
Supertypes
trait GenericBackend[G, P]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class ResolveRelativeUrisBackend[F[_], P](delegate: GenericBackend[F, P], resolve: Uri => F[Uri]) extends DelegateBackend[F, P]

Attributes

Companion
object
Supertypes
class DelegateBackend[F, P]
trait GenericBackend[F, P]
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class TooManyRedirectsException(uri: Uri, redirects: Int) extends Exception

Attributes

Supertypes
trait Product
trait Equals
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object TryBackend

A synchronous backend that safely wraps exceptions in Try's

A synchronous backend that safely wraps exceptions in Try's

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TryBackend.type