diff --git a/examples/websocket/src/client.rs b/examples/websocket/src/client.rs index 06dad5424..d2c11617e 100644 --- a/examples/websocket/src/client.rs +++ b/examples/websocket/src/client.rs @@ -105,11 +105,11 @@ impl StreamHandler for ChatClient { } } - fn started(&mut self, ctx: &mut Context, _: SpawnHandle) { + fn started(&mut self, ctx: &mut Context) { println!("Connected"); } - fn finished(&mut self, err: Option, ctx: &mut Context, _: SpawnHandle) { + fn finished(&mut self, err: Option, ctx: &mut Context) { println!("Server disconnected"); ctx.stop() }