mirror of
https://github.com/fafhrd91/actix-web
synced 2025-08-29 16:19:19 +02:00
basic websocket client
This commit is contained in:
@@ -60,11 +60,18 @@ mod proto;
|
||||
mod context;
|
||||
mod mask;
|
||||
|
||||
mod connect;
|
||||
mod writer;
|
||||
|
||||
pub mod client;
|
||||
|
||||
use ws::frame::Frame;
|
||||
use ws::proto::{hash_key, OpCode};
|
||||
pub use ws::proto::CloseCode;
|
||||
pub use ws::context::WebsocketContext;
|
||||
|
||||
pub use self::client::{WsClient, WsClientError, WsReader, WsWriter};
|
||||
|
||||
const SEC_WEBSOCKET_ACCEPT: &str = "SEC-WEBSOCKET-ACCEPT";
|
||||
const SEC_WEBSOCKET_KEY: &str = "SEC-WEBSOCKET-KEY";
|
||||
const SEC_WEBSOCKET_VERSION: &str = "SEC-WEBSOCKET-VERSION";
|
||||
|
Reference in New Issue
Block a user