Applies configuration. Supports the following config vars:
opened_connection - coderef which will be called when a new connection is opened
finish_connection - coderef called on connection close
skip_check_sanity - actions for which sanity checks will not be applied
Returns an empty list.
Adds an action to the list of handlers.
Expects $action as an arrayref, and an $order in which the action should be applied.
$action
$order
Mojo::WebSocketProxy::Parser
This module using for store server configuration in memory.
Mojolicious::Plugin::WebSocketProxy, Mojo::WebSocketProxy, Mojo::WebSocketProxy::Backend, Mojo::WebSocketProxy::Dispatcher, Mojo::WebSocketProxy::Config Mojo::WebSocketProxy::Parser
To install Mojo::WebSocketProxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::WebSocketProxy
CPAN shell
perl -MCPAN -e shell install Mojo::WebSocketProxy
For more information on module installation, please visit the detailed CPAN module installation guide.