//!Default configuration parameters.
use time;
use WebSocketConfig;
pub const DEFAULT_WS_CONFIG: WebSocketConfig = WebSocketConfig ;
/// Number of datagram frames to buffer in the channels before blocking
pub const DATAGRAM_BUFFER_SIZE: usize = 2 << 8;
/// Number of `MuxStream`s to buffer in the channels before blocking
pub const STREAM_BUFFER_SIZE: usize = 2 << 8;
/// Number of `StreamFrame`s to buffer in `MuxStream`'s channels before blocking
pub const STREAM_FRAME_BUFFER_SIZE: usize = 2 << 8;
pub const UDP_PRUNE_TIMEOUT: Duration = from_secs;