[enhance] websocket
This commit is contained in:
1 parent
81b932b7bf
commit
c156d2eef7
4 files changed
+261
-12
No files matched your search
@@ -57,8 +57,16 @@ pub use toml;
|
||||
pub use uuid;
|
||||
pub mod fingerprint;
|
||||
pub use flexi_logger;
|
||||
pub mod websocket;
|
||||
|
||||
|
||||
#[cfg(feature = "websocket")]
|
||||
pub type Stream = websocket::WsFramedStream;
|
||||
|
||||
|
||||
#[cfg(not(feature = "websocket"))]
|
||||
pub type Stream = tcp::FramedStream;
|
||||
|
||||
pub type SessionID = uuid::Uuid;
|
||||
|
||||
#[inline]
|
||||
|
||||
Reference in new issue
Block a user