'Wait for a single event from the server.
Arguments:
timeout (float): Timeout in seconds before we give up.
Raises:
socket.timeout: if the timeout is exceeded.'

def drain_events(self, **kwargs):

    return self.transport.drain_events(self.connection, **kwargs)
