(self, timeout)
Set the timeout to the websocket.

        timeout: timeout time(second).
Set the timeout to the websocket.
Set the timeout to the websocket .
def settimeout(self, timeout):
        """
        Set the timeout to the websocket.

        timeout: timeout time(second).
        """
        self.sock.settimeout(timeout)
def settimeout ( self , timeout ) : self . sock . settimeout ( timeout )