Expand description
Shared transport primitives for standard HTTP/1 over iroh.
The ALPN is the only custom wire-level version marker. Every native bidirectional stream starts with one ordinary HTTP/1 exchange. A successful RFC 6455 Upgrade then transfers that stream to standard WebSocket frames; this crate adds no application framing or metadata encoding.
Structs§
- BiStream
- A native iroh bidirectional stream presented as one Tokio duplex byte stream.
Constants§
- ACCESS_
DENIED - Native QUIC application error used for an authenticated but denied client.
- CANCELLED
- Native QUIC application error used when a stream exchange is cancelled.
- HTTP_
ALPN - Versioned ALPN for standard HTTP/1 bytes over one iroh stream per exchange.
- OVERLOADED
- Native QUIC application error used when server admission is saturated.
Functions§
- is_
valid_ service_ name - Returns whether
serviceis a canonical Servoh service name.