automorph.handler

Members list

Type members

Classlikes

RPC request handler for bound APIs.

RPC request handler for bound APIs.

Processes remote API requests and invoke bound API methods.

Note: Consider this class to be private and do not use it. It remains public only due to Scala 2 macro limitations.

Type parameters

Codec

message codec plugin type

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

apiBindings

API method bindings

discovery

enable automatic provision of service discovery via RPC functions returning bound API schema

effectSystem

effect system plugin

rpcProtocol

RPC protocol plugin

Attributes

Constructor

Creates a new RPC request handler using specified effect system and RPC protocol plugins with corresponding message context type.

Supertypes
trait Serializable
trait Product
trait Equals
trait RequestHandler[Effect, Context]
class Object
trait Matchable
class Any
Show all

RPC handler remote API function binding.

RPC handler remote API function binding.

Note: Consider this class to be private and do not use it. It remains public only due to Scala 2 macro limitations.

Type parameters

Context

RPC message context type

Effect

effect type

Node

message node type

Value parameters

acceptsContext

true if the method accepts request context as its last parameter, false otherwise

argumentDecoders

map of method parameter names to argument decoding functions

call

calls bound function

encodeResult

encodes bound function result

function

bound function descriptor

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all