Expand description
Network stream types for connection metadata and upgraded connections.
This module provides:
ConnectionMetadata: read-only metadata about an established connection (addresses, TLS info, transport kind).UpgradedStream: an owned post-HTTP IO handle for 101/CONNECT upgrade handoff.NetworkStream: a compatibility object exposed on responses for metadata access and, where safe, low-level IO.
Structs§
- Connection
Metadata - Read-only metadata about an established connection.
- Extra
Info - Read-only metadata accessible through
get_extra_info(). - TlsInfo
- Read-only TLS session metadata captured after handshake.
- Upgraded
Stream - An owned post-HTTP IO handle for upgraded connections (101, CONNECT).
Enums§
- Network
Stream - A network stream handle exposed on responses for metadata access.
- Transport
Kind - The kind of transport used for a connection.
- Upgraded
Stream Variant - Classification of the concrete IO inside an
UpgradedStream.