Expand description
nexus-web — low-latency web protocol primitives.
Sans-IO protocol implementations that operate on byte slices. No async runtime, no I/O layer — pure protocol state machines.
Extracted from nexus-net 0.7.x.
Protocol code moved here; networking primitives (buffers, TLS,
wire abstractions) remain in nexus-net and are re-exported below.
§Modules
ws— WebSocket framing (RFC 6455)http— HTTP/1.1 response parsing, chunked decoding, request/response writersrest— HTTP/1.1 REST client (RequestWriter,Client, typestate builder)
§Primitives
Buffer types, TLS, and wire abstractions live in
nexus-net and are re-exported here
for convenience.
Modules§
- buf
- Buffer primitives for network protocol parsing and framing.
- http
- Sans-IO HTTP/1.x protocol primitives.
- maybe_
tls - Stream that may or may not be wrapped in TLS (sync only).
- rest
- Sans-IO HTTP/1.1 REST primitives + transport.
- tls
- TLS codec — sans-IO encrypt/decrypt via rustls.
- wire
- Composition seam between transports and parsers.
- ws
- WebSocket framing — sans-IO encode/decode per RFC 6455.
Enums§
- Maybe
Tls - A stream that may or may not be wrapped in TLS.
Traits§
- Parser
Sink - Parser-side buffer that a
WireStreamfills. - Wire
Stream - A bidirectional byte-level stream that fills a parser’s buffer.