EndpointExecutor

zio.http.endpoint.EndpointExecutor
See theEndpointExecutor companion object
final case class EndpointExecutor[R, Auth, ReqEnv](client: ZClient[Any, ReqEnv, Body, Throwable, Response], locator: EndpointLocator, authProvider: ZIO[R, Nothing, Auth])

A zio.http.endpoint.EndpointExecutor is responsible for taking an endpoint invocation, and executing the invocation, returning the final result, or failing with a pre-defined RPC error.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply[P, I, E, B, AuthT <: AuthType](invocation: Invocation[P, I, E, B, AuthT])(implicit combiner: Combiner[I, invocation.endpoint.authType.ClientRequirement], ev: Auth <:< invocation.endpoint.authType.ClientRequirement, trace: Trace): ZIO[R & ReqEnv, E, B]
def apply[P, I, E, B](invocation: Invocation[P, I, E, B, None])(implicit trace: Trace): ZIO[ReqEnv, E, B]

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product