From 715ec4ae2fd6b07bf96765a5cf72643a93b12ed0 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sun, 28 Jan 2018 08:26:36 -0800 Subject: [PATCH] update actix --- examples/websocket-chat/src/client.rs | 2 +- examples/websocket-chat/src/session.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {