Skip to main content

Crate nexus_net

Crate nexus_net 

Source
Expand description

nexus-net — low-latency network protocol primitives.

Sans-IO protocol implementations that operate on byte slices. No async runtime, no I/O layer — pure protocol state machines.

§Modules

  • buf — Buffer primitives (ReadBuf, WriteBuf, WriteBufWriter)
  • ws — WebSocket framing (RFC 6455)
  • http — HTTP/1.1 response parsing, chunked decoding, request/response writers
  • rest — HTTP/1.1 REST client (RequestWriter, HttpConnection, typestate builder)
  • [tls] — TLS codec via rustls (feature: tls)

Modules§

buf
Buffer primitives for network protocol parsing and framing.
http
Sans-IO HTTP/1.x protocol primitives.
rest
Sans-IO HTTP/1.1 REST primitives + blocking transport.
ws
WebSocket framing — sans-IO encode/decode per RFC 6455.