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

Name Description
Http_OnDataReceiveCallback onDataReceive Callback invoked when a response body is received. For details, see Http_OnDataReceiveCallback.
Http_OnProgressCallback onUploadProgress Callback invoked when an upload is triggered. For details, see Http_OnProgressCallback.
Http_OnProgressCallback onDownloadProgress Callback invoked when a download is triggered. For details, see Http_OnProgressCallback.
Http_OnHeaderReceiveCallback onHeadersReceive Callback invoked when a header is received. For details, see Http_OnHeaderReceiveCallback.
Http_OnVoidCallback onDataEnd Callback invoked when the transmission is complete. For details, see Http_OnVoidCallback.
Http_OnVoidCallback onCanceled Callback invoked when the request is canceled. For details, see Http_OnVoidCallback.