ClientBinding
automorph.client.ClientBinding
final case class ClientBinding[Node, Context](function: RpcFunction, argumentEncoders: Map[String, Any => Node], decodeResult: (Node, Context) => Any, acceptsContext: Boolean)
RPC client 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
- Node
-
message node type
Value parameters
- acceptsContext
-
true if the last parameter of the bound function is contextual
- argumentEncoders
-
map of method parameter names to argument encoding functions
- decodeResult
-
decodes bound function result
- function
-
bound function descriptor
Attributes
- Graph
-
- Supertypes
Members list
In this article