diff --git a/examples/async_mio_loop.rs b/examples/async_mio_loop.rs index 4bab6bf..9945f0e 100644 --- a/examples/async_mio_loop.rs +++ b/examples/async_mio_loop.rs @@ -59,7 +59,7 @@ fn main() -> ClientResult<()> { 1 => { if let Some(ch) = text.chars().next() { println!("sending char: {}", ch); - ssip_client.push(Request::SendChar(ch)) + ssip_client.push(Request::SpeakChar(ch)) } } _ => { diff --git a/examples/notifications.rs b/examples/notifications.rs index 2f5c8c5..cbe07fd 100644 --- a/examples/notifications.rs +++ b/examples/notifications.rs @@ -11,7 +11,7 @@ fn main() -> ClientResult<()> { .check_client_name_set()?; // Enabling notifications client - .enable_notification(NotificationType::All)? + .set_notification(NotificationType::All, true)? .check_status(OK_NOTIFICATION_SET)?; // Sending message let msg_id = client