docs: def send_frame(self, frame):
          """
          Called by the client protocol to send a frame to the remote
          peer.  This method does not block; it buffers the data and
          arranges for it to be sent out asynchronously.
  
          :param frame: The frame to send to the peer.  Must be in the
                        format expected by the currently active send
                        framer.
          """
  
          # Convert the frame to bytes and write them to the connection
          data = self._send_framer.to_bytes(frame, self._send_state)
          self._transport.write(data)