EndpointLocator

zio.http.endpoint.EndpointLocator
See theEndpointLocator companion object

An endpoint locator is responsible for locating endpoints.

Attributes

Companion
object
Deprecated
[Since version 3.6.0] EndpointLocator will be removed in a future release. Please use URLs directly to create an EndpointExecutor
Source
EndpointLocator.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

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

Source
EndpointLocator.scala

Concrete methods

Attributes

Source
EndpointLocator.scala