def receive(self):
if self.connected():<EOL><INDENT>return self._format_message(self._ws.recv())<EOL><DEDENT>return None<EOL>
Receive the next message in the sequence.

        :returns: the next message in the sequence, None if not connected
        :rtype: dict