std::http::chunked¶
Status: experimental
RFC 7230 ยง4.1 chunked transfer-encoding reader and writer.
API details and source¶
The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.
| Item | Canonical signature or declaration | Description |
|---|---|---|
Reader |
type Reader |
Decodes a chunked body from any Read source (Rust-side; streaming). |
Writer |
type Writer |
Encodes raw bytes into chunked frames over any Write sink (Rust-side; streaming). |
decode |
fn decode(body: String) -> String |
One-shot: concatenates data chunks from a complete chunked body. Available in interp + compiled. |
encode |
fn encode(body: String) -> String |
One-shot: wraps a buffer in chunked transfer-encoding with terminator. Available in interp + compiled. |