diff --git a/examples/websocket-chat/src/client.rs b/examples/websocket-chat/src/client.rs index ee9ad129..66011054 100644 --- a/examples/websocket-chat/src/client.rs +++ b/examples/websocket-chat/src/client.rs @@ -125,7 +125,7 @@ impl Handler for ChatClient { /// Server communication -impl FramedActor for ChatClient { +impl FramedHandler for ChatClient { fn handle(&mut self, msg: io::Result, ctx: &mut Context) { match msg { diff --git a/examples/websocket-chat/src/session.rs b/examples/websocket-chat/src/session.rs index eb3b90e7..7589dc98 100644 --- a/examples/websocket-chat/src/session.rs +++ b/examples/websocket-chat/src/session.rs @@ -63,7 +63,7 @@ impl Actor for ChatSession { } /// To use `Framed` we have to define Io type and Codec -impl FramedActor for ChatSession { +impl FramedHandler for ChatSession { /// This is main event loop for client requests fn handle(&mut self, msg: io::Result, ctx: &mut Context) {