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.
18 lines
323 B
18 lines
323 B
3 years ago
|
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) {
|
||
|
|
||
|
}
|
||
|
}
|