endpoints4s.sttp.client
Interpreters backed by sttp.
Type members
Classlikes
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")
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
Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON request
Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON request
algebra.Methods interpreter that builds URLs.
algebra.Methods interpreter that builds URLs.