FromServices

izumi.idealingua.runtime.rpc.IRTServerMultiplexor.FromServices
class FromServices[F[_, _], C](val services: Set[IRTWrappedService[F, C]])(implicit evidence$1: IO2[F]) extends FromMethods[F, C]

Attributes

Graph
Supertypes
class FromMethods[F, C]
trait IRTServerMultiplexor[F, C]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

final def contramap[C2](updateContext: (C2, Json, IRTMethodId) => F[Throwable, Option[C]])(implicit io2: IO2[F]): IRTServerMultiplexor[F, C2]

Contramap eval on context C2 -> C. If context is missing IRTUnathorizedRequestContextException will raise.

Contramap eval on context C2 -> C. If context is missing IRTUnathorizedRequestContextException will raise.

Attributes

Inherited from:
IRTServerMultiplexor
def invokeMethod(method: IRTMethodId)(context: C, parsedBody: Json)(implicit E: Error2[F]): F[Throwable, Json]

Attributes

Inherited from:
IRTServerMultiplexor
final def wrap(middleware: IRTServerMiddleware[F, C]): IRTServerMultiplexor[F, C]

Wrap invocation with function '(Context, Body)(Method.Invoke) => Result' .

Wrap invocation with function '(Context, Body)(Method.Invoke) => Result' .

Attributes

Inherited from:
IRTServerMultiplexor

Concrete fields

val services: Set[IRTWrappedService[F, C]]

Inherited fields

Attributes

Inherited from:
FromMethods