dxlconsole.handlers module¶
- 
class dxlconsole.handlers.BaseRequestHandler(application, request, **kwargs)¶
- Bases: - tornado.web.RequestHandler- The base class for Tornado request handlers - 
data_received(chunk)¶
- Implement this method to handle streamed request data. - Requires the .stream_request_body decorator. 
 - 
get_current_user()¶
- Returns the current user for the request - Returns: - The current user for the request 
 
- 
- 
class dxlconsole.handlers.WebSocketEventHandler¶
- Bases: - object- The base class for handling web socket events - 
on_web_socket_closed(client_id, web_socket)¶
- Invoked whenever a web socket is closed - Parameters: - client_id -- the client owning the web socket
- web_socket -- the web socket being closed
 
 - 
on_web_socket_message(client_id, message)¶
- Invoked when a new message is received from a web socket - Parameters: - client_id -- the client owning the web socket
- message -- the message received
 
 - 
on_web_socket_opened(client_id, web_socket)¶
- Invoked whenever a new web socket is opened - Parameters: - client_id -- the client owning the web socket
- web_socket -- the newly opened web socket
 
 
-