[−][src]Function rusp::usp_generator::usp_delete_request
pub fn usp_delete_request<'a, S: AsRef<str>>(
allow_partial: bool,
obj_paths: &'a [S]
) -> Body<'a>
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 permittedobj_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."]);