1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
//! it's websockets, for tide!
//!
//! see [`WebSocket`] for examples and usage

#![forbid(unsafe_code, future_incompatible)]
#![deny(
    missing_debug_implementations,
    nonstandard_style,
    missing_docs,
    unreachable_pub,
    missing_copy_implementations,
    unused_qualifications
)]

mod handler;
mod websocket_connection;

pub use handler::WebSocket;
pub use websocket_connection::WebSocketConnection;

pub use async_tungstenite;
pub use async_tungstenite::tungstenite::{self, Error, Message};