(self, get_mask_key = None)
Initalize WebSocket object.
Initalize WebSocket object.
Initalize WebSocket object .
def __init__(self, get_mask_key = None):
        """
        Initalize WebSocket object.
        """
        self.connected = False
        self.io_sock = self.sock = socket.socket()
        self.get_mask_key = get_mask_key
def __init__ ( self , get_mask_key = None ) : self . connected = False self . io_sock = self . sock = socket . socket ( ) self . get_mask_key = get_mask_key