pub fn notify_multiple(&mut self, data: Vec<Data>) -> Result<MsgNotificationResponse> {
        println!("Send answer");
        match self.send_message(
            Method::Post,
            "vap/skillRegistry/notification",
            MsgNotification {
                skill_id: self.id.clone(),
                data,
            },
        )? {
            (ResponseType::Content, d) => Ok(rmp_serde::from_read(Cursor::new(d))
                .expect("Failed to create MsgNotification, report this")),
            _ => Err(Error::Unknown),
        }
    }
/// Send notifications (of any type) to several clients
Send notifications (of any type) to several clients
Send notifications ( of any type ) to several clients
pub fn notify_multiple(&mut self, data: Vec<Data>) -> Result<MsgNotificationResponse> {
        println!("Send answer");
        match self.send_message(
            Method::Post,
            "vap/skillRegistry/notification",
            MsgNotification {
                skill_id: self.id.clone(),
                data,
            },
        )? {
            (ResponseType::Content, d) => Ok(rmp_serde::from_read(Cursor::new(d))
                .expect("Failed to create MsgNotification, report this")),
            _ => Err(Error::Unknown),
        }
    }
pub fn notify_multiple ( & mut self , data : Vec < Data > ) -> Result < MsgNotificationResponse > { println ! ( " " ) ; match self . send_message ( Method :: Post , " " , MsgNotification { skill_id : self . id . clone ( ) , data , } , ) ? { ( ResponseType :: Content , d ) => Ok ( rmp_serde :: from_read ( Cursor :: new ( d ) ) . expect ( " " ) ) , _ => Err ( Error :: Unknown ) , } }
Send notifications (of any type) to several clients
Send notifications ( of any type ) to several clients
&mut self
data
Vec<Data>