endpoints4s.sttp.client
Interpreters backed by sttp.
Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait BasicAuthenticationtrait Errorstrait Responsestrait StatusCodestrait Requeststrait SemigroupalSyntaxtrait Methodstrait Urlstrait InvariantFunctorSyntaxclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
- Known subtypes
-
class Endpoints[R]
- Self type
An interpreter for endpoints4s.algebra.Endpoints that builds a client issuing requests using a sttp’s com.softwaremill.sttp.SttpBackend, and uses algebra.BuiltInErrors to model client and server errors.
An interpreter for endpoints4s.algebra.Endpoints that builds a client issuing requests using a sttp’s com.softwaremill.sttp.SttpBackend, and uses algebra.BuiltInErrors to model client and server errors.
Doest not support streaming responses for now
Type parameters
- R
-
The monad wrapping the response. It is defined by the backend
Value parameters
- backend
-
The underlying backend to use
- host
-
Base of the URL of the service that implements the endpoints (e.g. "http://foo.com")
Attributes
- Supertypes
-
trait BuiltInErrors[R]trait EndpointsWithCustomErrors[R]trait StatusCodestrait Methodstrait Urlstrait Endpointstrait BuiltInErrorstrait Errorstrait Responsestrait StatusCodestrait Requeststrait SemigroupalSyntaxtrait Methodstrait Urlstrait InvariantFunctorSyntaxclass Objecttrait Matchableclass AnyShow all
An interpreter for endpoints4s.algebra.Endpoints that builds a client issuing requests using a sttp’s com.softwaremill.sttp.SttpBackend.
An interpreter for endpoints4s.algebra.Endpoints that builds a client issuing requests using a sttp’s com.softwaremill.sttp.SttpBackend.
Type parameters
- R
-
The monad wrapping the response. It is defined by the backend
Attributes
- Supertypes
-
trait StatusCodestrait Methodstrait Urlstrait Errorstrait Responsestrait StatusCodestrait Requeststrait SemigroupalSyntaxtrait Methodstrait Urlstrait InvariantFunctorSyntaxclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class Endpoints[R]
Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON request
Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON request
Attributes
- Supertypes
-
trait JsonEntitiesFromCodecstrait JsonCodecstrait JsonEntitiestrait Errorstrait Responsestrait StatusCodestrait Requeststrait SemigroupalSyntaxtrait Methodstrait Urlstrait InvariantFunctorSyntaxclass Objecttrait Matchableclass AnyShow all
- Self type
algebra.Methods interpreter that builds URLs.
algebra.Methods interpreter that builds URLs.
Attributes
- Supertypes
- Known subtypes
-
trait EndpointsWithCustomErrors[R]class Endpoints[R]
Attributes
- Supertypes
-
trait Endpointstrait BuiltInErrorstrait Errorstrait Responsestrait StatusCodestrait Requeststrait SemigroupalSyntaxtrait Methodstrait Urlstrait InvariantFunctorSyntaxclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
- Known subtypes
-
trait EndpointsWithCustomErrors[R]class Endpoints[R]
Attributes
- Supertypes
- Known subtypes
-
trait EndpointsWithCustomErrors[R]class Endpoints[R]