Http.Chunk¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input to the chunk shard is the data (String or Bytes) to be sent in the current chunk. This data is part of a larger response that will be sent in multiple chunks if necessary. | String Bytes |
||
Output ➡️ |
The output is the same as the input. The chunked transfer encoding is handled internally when writing to the socket. | String Bytes |
||
Status |
No | The HTTP status code to return. | 200 |
Int |
Headers |
No | The headers to attach to this response. | none |
{String} Var({String}) None |
This shard processes and packages outgoing Http response data into smaller manageable pieces and subsequently writes them to the socket while managing the chunked transfer encoding process.