endpoints4s.play.client

Client interpreters backed by Play WS

Attributes

Members list

Type members

Classlikes

trait BasicAuthentication extends BasicAuthentication

Attributes

Supertypes
trait BasicAuthentication
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
Self type
trait BuiltInErrors extends BuiltInErrors

Attributes

Supertypes
trait BuiltInErrors
trait Errors
class Object
trait Matchable
class Any
Known subtypes
class Endpoints
Self type
class Endpoints(val host: String, val wsClient: WSClient)(implicit val executionContext: ExecutionContext) extends Endpoints, EndpointsWithCustomErrors, BuiltInErrors

An interpreter for algebra.Endpoints that builds a client issuing requests using Play’s WSClient HTTP client, and uses algebra.BuiltInErrors to model client and server errors.

An interpreter for algebra.Endpoints that builds a client issuing requests using Play’s WSClient HTTP client, and uses algebra.BuiltInErrors to model client and server errors.

Value parameters

host

Base of the URL of the service that implements the endpoints (e.g. "http://foo.com")

wsClient

The underlying client to use

Attributes

Companion
object
Supertypes
trait StatusCodes
trait Methods
trait Urls
trait Endpoints
trait BuiltInErrors
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
object Endpoints

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Endpoints.type
trait EndpointsWithCustomErrors extends EndpointsWithCustomErrors, Urls, Methods, StatusCodes

An interpreter for algebra.Endpoints that builds a client issuing requests using

An interpreter for algebra.Endpoints that builds a client issuing requests using

  • Play’s WSClient HTTP client.

Attributes

Supertypes
trait StatusCodes
trait Methods
trait Urls
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
Known subtypes
trait JsonEntitiesFromCodecs extends JsonEntitiesFromCodecs, EndpointsWithCustomErrors

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses using Play WS.

Interpreter for endpoints4s.algebra.JsonEntitiesFromCodecs that encodes JSON requests and decodes JSON responses using Play WS.

Attributes

Supertypes
trait StatusCodes
trait Methods
trait Urls
trait JsonEntitiesFromCodecs
trait JsonCodecs
trait JsonEntities
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
Known subtypes
trait JsonEntitiesFromSchemas extends JsonEntitiesFromSchemas, JsonEntitiesFromCodecs, JsonSchemas

Interpreter for endpoints4s.algebra.JsonEntitiesFromSchemas that encodes JSON requests and decodes JSON responses using Play WS.

Interpreter for endpoints4s.algebra.JsonEntitiesFromSchemas that encodes JSON requests and decodes JSON responses using Play WS.

Attributes

Supertypes
trait JsonSchemas
trait TuplesSchemas
trait NoDocsJsonSchemas
trait StatusCodes
trait Methods
trait Urls
trait JsonEntitiesFromCodecs
trait JsonEntitiesFromSchemas
trait JsonSchemas
trait TuplesSchemas
trait JsonCodecs
trait JsonEntities
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
trait Methods extends Methods

algebra.Methods interpreter that builds URLs.

algebra.Methods interpreter that builds URLs.

Attributes

Supertypes
trait Methods
class Object
trait Matchable
class Any
Known subtypes
trait MuxEndpoints extends Endpoints

Attributes

Supertypes
trait Endpoints
trait BuiltInErrors
trait EndpointsWithCustomErrors
trait Errors
trait Responses
trait StatusCodes
trait Requests
trait SemigroupalSyntax
trait Methods
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
Self type
trait StatusCodes extends StatusCodes

Attributes

Supertypes
trait StatusCodes
class Object
trait Matchable
class Any
Known subtypes
trait Urls extends Urls

algebra.Urls interpreter that builds URLs.

algebra.Urls interpreter that builds URLs.

Attributes

Supertypes
trait Urls
trait PartialInvariantFunctorSyntax
trait InvariantFunctorSyntax
class Object
trait Matchable
class Any
Show all
Known subtypes