We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All
ReferencesSystemNetworkNetwork KitC APIsStructsOH_Http_Interceptor_Response

OH_Http_Interceptor_Response

Collapse
Word wrap
Dark theme
Copy code
  1. typedef struct OH_Http_Interceptor_Response {
  2. Http_Buffer body;
  3. Http_ResponseCode responseCode;
  4. OH_Http_Interceptor_Headers *headers;
  5. Http_PerformanceTiming performanceTiming;
  6. } OH_Http_Interceptor_Response;

Overview

Defines a struct for the HTTP response data packet of the interceptor.

Since: 24

Related module: netstack

Header file: http_interceptor_type.h

Summary

Member Variables

Expand
Name Description
Http_Buffer body Response body. For details, see Http_Buffer.
Http_ResponseCode responseCode Response status code. For details, see Http_ResponseCode.
OH_Http_Interceptor_Headers *headers HTTP response header. For details, see OH_Http_Interceptor_Headers.
Http_PerformanceTiming performanceTiming Response performance information. For details, see Http_PerformanceTiming.
Search in References
Enter a keyword.