pub fn request_to_string(name: &str, args: Vec<Value>) -> Result<String>
Expand description

Takes in the name of a method call and a list of parameters and attempts to convert them to a String which would be a valid body for an xmlrpc request.

let body = serde_xmlrpc::request_to_string("myMethod", vec![1.into(), "param2".into()]);