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_Request

OH_Http_Interceptor_Request

Collapse
Word wrap
Dark theme
Copy code
  1. typedef struct OH_Http_Interceptor_Request {
  2. Http_Buffer url;
  3. Http_Buffer method;
  4. OH_Http_Interceptor_Headers *headers;
  5. Http_Buffer body;
  6. } OH_Http_Interceptor_Request;

Overview

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

Since: 24

Related module: netstack

Header file: http_interceptor_type.h

Summary

Member Variables

Expand
Name Description
Http_Buffer url Request URL. For details, see Http_Buffer.
Http_Buffer method Request method. For details, see Http_Buffer.
OH_Http_Interceptor_Headers *headers HTTP request header. For details, see OH_Http_Interceptor_Headers.
Http_Buffer body Request body. For details, see Http_Buffer.
Search in References
Enter a keyword.