1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-22 05:35:08 +02:00

add websockets context

This commit is contained in:
Nikolay Kim
2019-03-17 22:02:03 -07:00
parent 88152740c6
commit fd3e351c31
7 changed files with 490 additions and 7 deletions

View File

@@ -1,4 +1,10 @@
//! Actix actors integration for Actix web framework
mod context;
mod ws;
pub use self::context::HttpContext;
pub use self::ws::{ws_handshake, ws_start, WebsocketContext};
pub use actix_http::ws::CloseCode as WsCloseCode;
pub use actix_http::ws::ProtocolError as WsProtocolError;
pub use actix_http::ws::{Frame as WsFrame, Message as WsMessage};