(self, protocols=None, extensions=None, handler_cls=WebSocket)
WSGI application usable to complete the upgrade handshake
        by validating the requested protocols and extensions as
        well as the websocket version.

        If the upgrade validates, the `handler_cls` class
        is instanciated and stored inside the WSGI `environ`
        under the `'ws4py.websocket'` key to make it
        available to the WSGI handler.
WSGI application usable to complete the upgrade handshake
        by validating the requested protocols and extensions as
        well as the websocket version.
WSGI application usable to complete the upgrade handshake by validating the requested protocols and extensions as well as the websocket version .
def __init__(self, protocols=None, extensions=None, handler_cls=WebSocket):
        """
        WSGI application usable to complete the upgrade handshake
        by validating the requested protocols and extensions as
        well as the websocket version.

        If the upgrade validates, the `handler_cls` class
        is instanciated and stored inside the WSGI `environ`
        under the `'ws4py.websocket'` key to make it
        available to the WSGI handler.
        """
        self.protocols = protocols
        self.extensions = extensions
        self.handler_cls = handler_cls
def __init__ ( self , protocols = None , extensions = None , handler_cls = WebSocket ) : self . protocols = protocols self . extensions = extensions self . handler_cls = handler_cls