parse_response


Description:


[ Version ( since = "2.52" ) ]
public Variant parse_response (string method_response, int length, string? signature) throws Error

Parses method_response and returns the return value.

If method_response is a fault, null is returned, and error will be set to an error in the SOUP_XMLRPC_FAULT domain, with the error code containing the fault code, and the error message containing the fault string. If method_response cannot be parsed, null is returned, and error will be set to an error in the SOUP_XMLRPC_ERROR domain.

See parse for deserialization details.

Parameters:

method_response

the XML-RPC methodResponse string

length

the length of method_response, or -1 if it is NUL-terminated

signature

A valid Variant type string, or null

Returns:

a new (non-floating) Variant, or null


Namespace: Soup.XMLRPC
Package: libsoup-2.4