NAME
Mojo::WebSocketProxy::Backend::JobAsync
DESCRIPTION
A subclass of Mojo::WebSocketProxy::Backend which dispatches RPC requests via Job::Async.
CLASS METHODS
new
Returns a new instance. Required params:
- loop => IO::Async::Loop
-
Containing IO::Async::Loop instance.
- jobman => Job::Async
-
Optional Job::Async instance.
- client => Job::Async::Client
-
Optional Job::Async::Client instance. Will be constructed from
$jobman->client
if not provided.
METHODS
client
$client = $backend->client
Returns the Job::Async::Client instance.
call_rpc
Implements the "call_rpc" in Mojo::WebSocketProxy::Backend interface.