Similar to flask.app.before_request, allow to register functions
that can do additional setup or validation of the request before opening
a websocket connection.
This allows developers with similar questions as issue #34 to use a
different way of authentication/authorization than cookies or session by
preprocessing (custom) headers or query string parameters.
Similar to
flask.app.before_request
, allow to register functions that can do additional setup or validation of the request before opening a websocket connection.This allows developers with similar questions as issue #34 to use a different way of authentication/authorization than cookies or session by preprocessing (custom) headers or query string parameters.