Skip to main content

Crate nxtquic_api

Crate nxtquic_api 

Source
Expand description

§NxtQuic Async API

High-level async/await API for the NxtQuic QUIC transport library. Provides ergonomic Endpoint, Connection, SendStream, and RecvStream types built on top of the I/O-free nxtquic-proto core.

This crate will be fully implemented in Phase 4 of the NxtQuic project.

Re-exports§

pub use connection::Connection;
pub use connection::ConnectionCloseInfo;
pub use connection::ConnectionStats;
pub use connection::HandshakeData;
pub use endpoint::ClientConfig;
pub use endpoint::ClientConfigBuilder;
pub use endpoint::Connecting;
pub use endpoint::Endpoint;
pub use endpoint::EndpointConfig;
pub use endpoint::EndpointStats;
pub use endpoint::Incoming;
pub use endpoint::ServerConfig;
pub use endpoint::ServerConfigBuilder;
pub use endpoint::TransportConfig;
pub use runtime::Runtime;
pub use runtime::TokioRuntime;
pub use stream::RecvStream;
pub use stream::SendStream;

Modules§

connection
QUIC connection management.
endpoint
Endpoint configuration and socket ownership.
runtime
Async runtime abstractions and drivers for driving QUIC endpoints and connections.
stream
QUIC stream types implementing Tokio async I/O traits.