(self)
Connects the websocket and initiate the upgrade handshake.
Connects the websocket and initiate the upgrade handshake.
Connects the websocket and initiate the upgrade handshake .
def connect(self):
        """
        Connects the websocket and initiate the upgrade handshake.
        """
        self.io.set_close_callback(self.__connection_refused)
        self.io.connect((self.host, int(self.port)), self.__send_handshake)
def connect ( self ) : self . io . set_close_callback ( self . __connection_refused ) self . io . connect ( ( self . host , int ( self . port ) ) , self . __send_handshake )