mod error;
mod protocol;
pub mod proto;
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;
use proto::*;
pub use error::Error;
pub use transport::Transport;
pub use session::{RecvStream, SendStream, Session};
pub use stream::{StreamDir, StreamId};
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.";