Client interpreter backed by scalaj-http.
Endpoints interpreter fixes the
Endpoint[A, B] type to a type that provide methods to invoke the endpoint synchronously or asynchronously.
Given the following endpoint definition:
val someResource: Endpoint[Int, String] = endpoint(get(path / "some-resource" / segment[Int]()), ok(textResponse))
It can be asynchronously invoked as follows:
val eventuallyString: Future[String] = someResource.callAsync(42)