[][src]Function rusp::usp_generator::usp_delete_request

pub fn usp_delete_request<S: AsRef<str>>(
    allow_partial: bool,
    obj_paths: &[S]
) -> Body

Generates a body of a USP Msg with a USP Delete request

Arguments

  • allow_partial - A boolean indicating whether partial execution of the Set command is permitted
  • obj_paths - An array of paths specifying the objects to delete

Example

use rusp::usp_generator::usp_delete_request;
let req = usp_delete_request(true, &["Device.XMPP.Connection.1."]);