docs: def request_message(cls, item, request_id):
          '''Convert an RPCRequest item to a message.'''
          assert isinstance(item, Request)
          return cls.encode_payload(cls.request_payload(item, request_id))