My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/games/rstnode/rst-core/src/net/handler.rs

17 lines
323 B

use crate::{
net::Client,
server::Server,
wire::{Request, Response},
};
use async_std::sync::{Receiver, Sender};
pub struct Handler {
tx: Sender<Response>,
}
impl Handler {
/// Start a message handler with a handle to send a reply back to the clients
pub fn start(req: Request) {
}
}