(self)
Unfortunately the base class forces us
        to override the whole method to actually provide our wsgi handler.
Unfortunately the base class forces us
        to override the whole method to actually provide our wsgi handler.
Unfortunately the base class forces us to override the whole method to actually provide our wsgi handler .
def handle(self):
        """
        Unfortunately the base class forces us
        to override the whole method to actually provide our wsgi handler.
        """
        self.raw_requestline = self.rfile.readline()
        if not self.parse_request(): # An error code has been sent, just exit
            return

        # next line is where we'd have expect a configuration key somehow
        handler = WebSocketWSGIHandler(
            self.rfile, self.wfile, self.get_stderr(), self.get_environ()
        )
        handler.request_handler = self      # backpointer for logging
        handler.run(self.server.get_app())
def handle ( self ) : self . raw_requestline = self . rfile . readline ( ) if not self . parse_request ( ) : # An error code has been sent, just exit return # next line is where we'd have expect a configuration key somehow handler = WebSocketWSGIHandler ( self . rfile , self . wfile , self . get_stderr ( ) , self . get_environ ( ) ) handler . request_handler = self # backpointer for logging handler . run ( self . server . get_app ( ) )