Expand description
High-level NAT traversal API High-level NAT Traversal API for Autonomi P2P Networks
This module provides a simple, high-level interface for establishing QUIC connections through NATs using sophisticated hole punching and coordination protocols.
Structs§
- Bootstrap
Node - Information about a bootstrap/coordinator node
- Candidate
Address - Address candidate discovered during NAT traversal
- Candidate
Pair - A candidate pair for hole punching (ICE-like)
- Connection
Metrics - Connection quality metrics
- NatTraversal
Config - Configuration for NAT traversal behavior
- NatTraversal
Endpoint - High-level NAT traversal endpoint for Autonomi P2P networks
- NatTraversal
Statistics - Statistics about NAT traversal performance
- PeerId
- Unique identifier for a peer in the network
- Session
State - Session state machine for tracking connection lifecycle
- Session
State Update - Session state update notification
Enums§
- Candidate
Pair State - State of a candidate pair during hole punching
- Candidate
Validation Error - Errors that can occur during candidate address validation
- Connection
State - Connection state in the session lifecycle
- Endpoint
Role - Role of an endpoint in the Autonomi network
- NatTraversal
Error - Errors that can occur during NAT traversal
- NatTraversal
Event - Events generated during NAT traversal process
- State
Change Reason - Reason for connection state change
- Traversal
Phase - Phases of NAT traversal process