Type Alias caesar_core::shared::Socket

source ·
pub type Socket = WebSocketStream<MaybeTlsStream<TcpStream>>;

Aliased Type§

struct Socket {
    pub(crate) inner: WebSocket<AllowStd<MaybeTlsStream<TcpStream>>>,
    pub(crate) closing: bool,
    pub(crate) ended: bool,
    pub(crate) ready: bool,
}

Fields§

§inner: WebSocket<AllowStd<MaybeTlsStream<TcpStream>>>§closing: bool§ended: bool§ready: bool