mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
aquatic_ws: send responses for every event, wake mio for responses
This commit is contained in:
parent
de1a299f1e
commit
9af4e4663d
5 changed files with 54 additions and 24 deletions
|
|
@ -13,6 +13,10 @@ pub use aquatic_common::ValidUntil;
|
|||
use aquatic_ws_protocol::*;
|
||||
|
||||
|
||||
pub const LISTENER_TOKEN: Token = Token(0);
|
||||
pub const CHANNEL_TOKEN: Token = Token(1);
|
||||
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub struct ConnectionMeta {
|
||||
/// Index of socket worker responsible for this connection. Required for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue