Client backed by sttp.
Endpoints interpreter is parameterized by an sttp backend of type
SttpBackend[R, Nothing], for some type constructor
Endpoint[A, B] type is fixed as follows:
This means that, given the following endpoint definition:
val someResource: Endpoint[Int, String] = endpoint(get(path / "some-resource" / segment[Int]()), ok(textResponse))
It can be invoked as follows with the
HttpURLConnectionBackend, for instance: