METHODS

init

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.

add_action

Adds an action to the list of handlers.

Expects $action as an arrayref, and an $order in which the action should be applied.

NAME

Mojo::WebSocketProxy::Parser

DESCRIPTION

This module using for store server configuration in memory.

METHODS

init

add_action

add_backend

SEE ALSO

Mojolicious::Plugin::WebSocketProxy, Mojo::WebSocketProxy, Mojo::WebSocketProxy::Backend, Mojo::WebSocketProxy::Dispatcher, Mojo::WebSocketProxy::Config Mojo::WebSocketProxy::Parser