Expand description
Sans-I/O HTTP codecs and host-driven client policy. No socket, executor or clock reads.
§Getting started on turnloop
Enable the turnloop feature for the asynchronous module. The embedding
host owns LocalExecutor and calls turn; adapters await its streams and
deadline futures. See the crate README and turnloop-io for ownership, streaming
and cancellation examples. Default features retain the sans-I/O API.
Modules§
- client
- Host-driven fetch transport policy. DNS, environment, sockets and time are inputs. JS body conversions, promise dispatch and abort reason objects remain in Perry.
- compression
- Bounded decompression into a caller-reused result buffer. This convenience API accepts a complete encoded body; wire body streaming is exposed by the codecs.
- hpack
- RFC 7541 HPACK, implemented here. Bounded dynamic table and decoded output.
- http1
- Incremental RFC 9112 framing. The host retains unconsumed input and owns writes.
Bodyborrows input; head/trailer allocations are the returned representation. - http2
- RFC 9113 connection/stream framing. Caller retains partial frames and acknowledges writes. DATA is borrowed, flow-control credit is returned explicitly by the host.