NAME
Mojo::WebSocketProxy::CallingEngine
DESCRIPTION
The calling engine which does the actual RPC call.
METHODS
forward
Forward the call to RPC service and return response to websocket connection.
Call params is made in make_call_params method. Response is made in success_api_response method. These methods would be override or extend custom functionality.
make_call_params
Make RPC call params.
Method params: stash_params - it contains params to forward from server storage.
rpc_response_cb
Callback for RPC service response. Can use custom handlers error and success.
store_response
Save RPC response to storage.
success_api_response
Make wsapi proxy server response from RPC response.
error_api_response
Make wsapi proxy server response from RPC response.
call_rpc
Make RPC call.
get_rpc_response_cb
SEE ALSO
Mojolicious::Plugin::WebSocketProxy, Mojo::WebSocketProxy Mojo::WebSocketProxy::CallingEngine, Mojo::WebSocketProxy::Dispatcher, Mojo::WebSocketProxy::Config Mojo::WebSocketProxy::Parser