openharmony 鸿蒙 capi-netstack-http-eventshandler

2026-08-25 浏览 (1)

Http_EventsHandler

typedef struct Http_EventsHandler {...} Http_EventsHandler

Overview

Defines the callback for various HTTP events.

Since: 20

Related module: netstack

Header file: net_http_type.h

Summary

Member Variables

NameDescription
Http_OnDataReceiveCallback onDataReceiveCallback invoked when a response body is received. For details, see Http_OnDataReceiveCallback.
Http_OnProgressCallback onUploadProgressCallback invoked when an upload is triggered. For details, see Http_OnProgressCallback.
Http_OnProgressCallback onDownloadProgressCallback invoked when a download is triggered. For details, see Http_OnProgressCallback.
Http_OnHeaderReceiveCallback onHeadersReceiveCallback invoked when a header is received. For details, see Http_OnHeaderReceiveCallback.
Http_OnVoidCallback onDataEndCallback invoked when the transmission is complete. For details, see Http_OnVoidCallback.
Http_OnVoidCallback onCanceledCallback invoked when the request is canceled. For details, see Http_OnVoidCallback.

你可能感兴趣的鸿蒙文章

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/ZvZyYj9N