mod h3_client_stream;
pub mod h3_server;
use quinn::{TransportConfig, VarInt};
pub use self::h3_client_stream::{H3ClientStream, H3ClientStreamBuilder};
const ALPN_H3: &[u8] = b"h3";
fn transport() -> TransportConfig {
let mut transport_config = TransportConfig::default();
transport_config.datagram_receive_buffer_size(None);
transport_config.datagram_send_buffer_size(0);
transport_config.max_concurrent_bidi_streams(VarInt::from_u32(3));
transport_config.max_concurrent_uni_streams(VarInt::from_u32(4));
transport_config
}