OnChunk - cHttpClient¶
Include: Use System\Http.pkg
Receives response bytes when pbChunked=True.
Type: Event
Syntax¶
Procedure OnChunk UChar[] ucChunk
Parameters¶
| Parameter | Type | Description |
|---|---|---|
ucChunk |
UChar[] | Response bytes for this chunk. |
Description¶
OnChunk fires when pbChunked=True. Chunked mode delivers response bytes through this event and does not populate HttpResponseBody. Returning nonzero can abort the transfer.