GetRequestId接口

接口功能

获取当前响应请求对象对应的推理请求体对象。

接口格式

virtual const RequestId &GetRequestId() const noexcept = 0;

接口参数

无。

使用样例

RequestId requestId = response->GetRequestId();

返回值

当前响应请求对象对应的推理请求体对象。