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
Source
EndpointExecutor.scala
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]

Attributes

Source
EndpointExecutor.scala
def apply[P, I, E, B](invocation: Invocation[P, I, E, B, None])(implicit trace: Trace): ZIO[ReqEnv, E, B]

Attributes

Source
EndpointExecutor.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product