openharmony 鸿蒙 capi-netstack-http-interceptor-request

2026-08-25 浏览 (1)

OH_Http_Interceptor_Request

typedef struct OH_Http_Interceptor_Request {
    Http_Buffer url;
    Http_Buffer method;
    OH_Http_Interceptor_Headers *headers;
    Http_Buffer body;
} OH_Http_Interceptor_Request;

概述

定义拦截器的HTTP请求数据包结构。

起始版本: 24

相关模块: netstack

所在头文件: http_interceptor_type.h

汇总

成员变量

名称描述
Http_Buffer url请求URL,详情请参考Http_Buffer定义。
Http_Buffer method请求方法,详情请参考Http_Buffer定义。
OH_Http_Interceptor_Headers *headersHTTP请求头信息,详情请参考OH_Http_Interceptor_Headers定义。
Http_Buffer body请求体内容,详情请参考Http_Buffer定义。

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-netconnection-netconn-connectionproperties

openharmony 鸿蒙 errorcode-net-mdns

openharmony 鸿蒙 js-apis-net-ethernet-sys

openharmony 鸿蒙 errorcode-net-http

openharmony 鸿蒙 capi-netstack-http-proxy

openharmony 鸿蒙 js-apis-system-fetch

openharmony 鸿蒙 errorcode-kernel

openharmony 鸿蒙 capi-netstack-netstack-certblob

openharmony 鸿蒙 js-apis-net-mdns

openharmony 鸿蒙 capi-netstack-websocket-closeoption

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/HJPypq8s