Http.Read¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | None |
||
Output ➡️ |
The output is a table containing the HTTP request method, headers, target, and body. | {method: String headers: {String} target: String body: String} |
This shard reads incoming HTTP requests from a client connection, parses its components, and outputs them as a table. This shard should be used in conjunction with the Http.Server shard to handle incoming requests. It properly handles both regular and chunked transfer encoding.