pub fn request_from_str(request: &str) -> Result<(String, Vec<Value>)>
Expand description

Expects an input string which is a valid xmlrpc request body, and parses out the method name and parameters from it. This function would typically be used by a server to parse incoming requests.

  • Returns a tuple of (method name, Arguments) if successful This does not parse the types of the arguments, as typically the server needs to resolve the method name before it can know the expected types.