EndpointExecutor

zio.http.api.EndpointExecutor
See theEndpointExecutor companion object
trait EndpointExecutor[+MI, +MO, +Ids]

A zio.http.api.EndpointExecutor is responsible for taking an endpoint invocation, and executing this invocation, returning the final result, or failing with some kind of RPC error.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
EndpointExecutor[MI, MO, Ids]

Members list

Concise view

Value members

Abstract methods

def apply[Id, A, B](invocation: Invocation[Id, A, B])(implicit ev: Ids <:< Id, trace: Trace): ZIO[Any, Throwable, B]
def middlewareInput(implicit trace: Trace): Task[MI]

Concrete methods

def mapMiddlewareInput[MI2](f: MI => MI2): EndpointExecutor[MI2, MO, Ids]