mod alpn;
mod config;
mod credit;
mod error;
pub mod proto;
mod protocol;
mod session;
mod stream;
mod transport;
#[cfg(feature = "tcp")]
pub mod tcp;
#[cfg(feature = "tls")]
pub mod tls;
#[cfg(feature = "ws")]
pub mod ws;
#[cfg(feature = "ws")]
pub use tokio_tungstenite;
#[cfg(feature = "ws")]
pub use tokio_tungstenite::tungstenite;
#[cfg(feature = "ws")]
pub use ws::{Client, KeepAlive, Server};
use proto::*;
pub use config::Config;
pub use error::Error;
pub use proto::Version;
pub use session::{RecvStream, SendStream, Session};
pub use stream::{StreamDir, StreamId};
pub use transport::Transport;
pub const ALPNS: &[&str] = &[ALPN_QMUX, ALPN_WEBTRANSPORT];
pub const PREFIXES: &[&str] = &[PREFIX_QMUX, PREFIX_WEBTRANSPORT];
const ALPN_WEBTRANSPORT: &str = "webtransport";
const ALPN_QMUX: &str = "qmux-00";
const PREFIX_WEBTRANSPORT: &str = "webtransport.";
const PREFIX_QMUX: &str = "qmux-00.";