simple_rpc v0.0.1 SimpleRpc.Handler behaviour View Source
Behaviour to implement the server.
Link to this section Summary
Callbacks
Handles SimpleRpc commmand and params.
Link to this section Functions
Link to this section Callbacks
Specs
handle_message(command :: SimpleRpc.command(), params :: SimpleRpc.params()) :: {:ok, SimpleRpc.result()} | {:error, SimpleRpc.error()}
Handles SimpleRpc commmand and params.