1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#[macro_use]
extern crate serde_derive;
#[macro_use]
extern crate lazy_static;
extern crate log;

pub use thruster_socketio_proc::*;

pub mod redis_pubsub;
mod rooms;
mod sid;
mod socketio;
mod socketio_context;
mod socketio_message;
// mod socketio_parser;
mod socketio_upgrade;

pub use rooms::{get_sockets_for_room, get_sockets_number_for_room, print_sockets_for_room, get_rooms_count};
pub use socketio::{adapter, broadcast, broadcast_binary, SocketIOAdapter, SocketIOSocket as SocketIO};
pub use socketio_context::SocketIOContext;
pub use socketio_upgrade::{handle_io, handle_io_with_capacity};