Endpoint
endpoints4s.play.client.EndpointsWithCustomErrors.Endpoint
case class Endpoint[A, B](request: () => A, response: () => B) extends A => Future[B]
A function that, given an A
, eventually attempts to decode the B
response.
Communication failures and protocol failures are represented by a Future.failed
.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait A => Future[B]class Objecttrait Matchableclass Any
Members list
In this article