View Source PhxJsonRpc.Router.Dispatcher behaviour (Phoenix JSON RPC v0.7.0)
Behaviour for the rpc requests dispatcher.
Summary
Callbacks
Dispatches the given rpc request, using module and action definitions in metadata.
Callbacks
@callback dispatch( request :: PhxJsonRpc.Request.t(), meta :: nil | PhxJsonRpc.Router.MetaData.t(), context :: PhxJsonRpc.Router.Context.t() ) :: PhxJsonRpc.Response.t()
Dispatches the given rpc request, using module and action definitions in metadata.
If no metadata specified, falls to method not found
response.