typedef struct OH_Http_Interceptor_Response {
Http_Buffer body;
Http_ResponseCode responseCode;
OH_Http_Interceptor_Headers *headers;
Http_PerformanceTiming performanceTiming;
} OH_Http_Interceptor_Response; | 名称 | 描述 |
|---|---|
| Http_Buffer body | 响应体内容,详情请参考Http_Buffer定义。 |
| Http_ResponseCode responseCode | 响应状态码,详情请参考Http_ResponseCode 枚举定义。 |
| OH_Http_Interceptor_Headers *headers | HTTP响应头信息,详情请参考OH_Http_Interceptor_Headers定义。 |
| Http_PerformanceTiming performanceTiming | 响应性能信息,详情请参考Http_PerformanceTiming定义。 |