EndpointExecutor

zio.http.api.EndpointExecutor$
See theEndpointExecutor companion trait

Attributes

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

Members list

Concise view

Value members

Concrete methods

def apply[MI, MO, Ids](client: Client, registry: EndpointRegistry[MI, MO, Ids], mi: Task[MI]): EndpointExecutor[Any, Any, Ids]

The default constructor creates a typed executor, which requires a service registry, which keeps track of the locations of all services.

The default constructor creates a typed executor, which requires a service registry, which keeps track of the locations of all services.

Attributes

def untyped(client: Client, locator: EndpointLocator): EndpointExecutor[Any, Any, Nothing]

An alternate constructor can be used to create an untyped executor, which can attempt to execute any service, and which may fail at runtime if it does not know the location of a service.

An alternate constructor can be used to create an untyped executor, which can attempt to execute any service, and which may fail at runtime if it does not know the location of a service.

Attributes