aboutsummaryrefslogtreecommitdiff
path: root/games/rstnode/rst-core/src/net/mod.rs
blob: f60cb3b976687d220d1bff6c22d53bf4402bf4a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
mod endpoint;
pub use endpoint::*;

mod gen;
pub use gen::*;

mod handler;
pub use handler::*;

mod parser;
pub use parser::*;

// #[async_std::test]
// async fn user_connection() {
//     let serv = Server::new();
//     let ep = Endpoint::new("localhost:9999").await;
//     task::spawn(async move { ep.listen(serv).await });

//     // Create a fake client here
// }