tokio
This commit is contained in:
parent
772cb421cb
commit
e2e5138faf
8 changed files with 474 additions and 75 deletions
13
src/websoket_connection.rs
Normal file
13
src/websoket_connection.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use crate::request::Request;
|
||||
|
||||
use tokio::net::TcpStream;
|
||||
|
||||
pub struct WebsocketConnection {
|
||||
steam: TcpStream,
|
||||
}
|
||||
|
||||
impl WebsocketConnection {
|
||||
pub fn initialize_connection(req: Request) -> tokio::io::Result<Self> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue