code: def send(self, msg):
          
          if self._req_ctx is not None:
              self._send(msg)
          else:
              self._send_queue.put(msg)
              self._event.set()
docs: Queues a message for sending. Real transmission is done in
          wait method.
          Sends directly if uWSGI version is new enough.