Std.Http.Server.Stream
4 public declarations
- finishChunked
&Std.Net.Connection -> Int -> Result[(), Std.Net.NetError]Emits the HTTP/1.1 chunked terminator frame `0\r\n\r\n`.
- sendChunk
&Std.Net.Connection -> &Bytes -> Int -> Result[(), Std.Net.NetError]Sends a single chunk framed as `<hex-length>\r\n<data>\r\n`.
- sendHead
&Std.Net.Connection -> Int -> &Array[(Str, Str)] -> Int -> Result[(), Std.Net.NetError]Sends HTTP status and headers immediately with `Transfer-Encoding: chunked`.
- streamChunks
&Std.Net.Connection -> Int -> &Array[(Str, Str)] -> &Array[Bytes] -> Int -> Result[(), Std.Net.NetError]Coordinates complete chunked response delivery over the socket.
