mirror of
https://github.com/shiroyashik/sculptor.git
synced 2025-12-06 13:01:12 +03:00
Code refactored + new API
Added ability to send messages to a websocket session via HTTP API
This commit is contained in:
parent
ca6990c5b1
commit
81ab2ba724
11 changed files with 172 additions and 74 deletions
|
|
@ -1,9 +1,8 @@
|
|||
mod c2s;
|
||||
mod errors;
|
||||
mod handler;
|
||||
mod s2c;
|
||||
mod types;
|
||||
mod websocket;
|
||||
mod http;
|
||||
|
||||
pub use c2s::C2SMessage;
|
||||
pub use errors::MessageLoadError;
|
||||
pub use handler::handler;
|
||||
pub use s2c::S2CMessage;
|
||||
pub use types::C2SMessage;
|
||||
pub use types::S2CMessage;
|
||||
pub use websocket::handler;
|
||||
pub use http::router as http_router;
|
||||
Loading…
Add table
Add a link
Reference in a new issue