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

Value members

Abstract methods

def locate[P, A, E, B, M <: EndpointMiddleware](api: Endpoint[P, 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