code: def put(self, message):
          
          if self.draining is False:
              self.drain()
  
          return self._enqueue(message)
docs: Enqueues the given message for writing to the wire.
  
          The message must be small enough to fit in a single frame.