AsRawDerivation
halotukozak.mrpc.derive.AsRawDerivation
object AsRawDerivation
Server-adapter derivation: builds an AsRaw[RawRpc[Raw], Real] that turns a real trait instance into a transport-facing RawRpc. The generated RawRpc[Raw] dispatches each incoming RawInvocation by rpcName, decodes every argument to its exact declared parameter type via a summoned AsReal[Raw, paramType], calls halotukozak.made.Done.invoke, and encodes the result back to Raw.
The fire/call/get match arms are partitioned by arity — only fire-arity ops appear in fire, and so on. An rpcName outside an arity's known set is rejected explicitly (no silent no-op), mirroring commons' unknown-method handling.
Attributes
- Source
- AsRawDerivation.scala
- Graph
-
- Supertypes
- Self type
-
AsRawDerivation.type
Members list
In this article