EndpointLocator

zio.http.endpoint.EndpointLocator
See theEndpointLocator companion object

An endpoint locator is responsible for locating endpoints.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def locate[A, E, B, M <: EndpointMiddleware](api: Endpoint[A, E, B, M])(implicit trace: Trace): IO[EndpointNotFound, URL]

Returns the location to the specified endpoint, or fails with an endpoint error.

Returns the location to the specified endpoint, or fails with an endpoint error.

Attributes

Concrete methods