mirror of
https://github.com/fafhrd91/actix-web
synced 2025-09-02 01:31:57 +02:00
add simple websocket example
This commit is contained in:
@@ -148,11 +148,11 @@ pub struct HttpChannel<T: 'static, A: 'static> {
|
||||
keepalive_timer: Option<Timeout>,
|
||||
}
|
||||
|
||||
impl<T: 'static, A: 'static> Drop for HttpChannel<T, A> {
|
||||
/*impl<T: 'static, A: 'static> Drop for HttpChannel<T, A> {
|
||||
fn drop(&mut self) {
|
||||
println!("Drop http channel");
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
impl<T, A> Actor for HttpChannel<T, A>
|
||||
where T: AsyncRead + AsyncWrite + 'static, A: 'static
|
||||
|
Reference in New Issue
Block a user