parse_method_response


Description:


[ Version ( deprecated = true ) ]
public bool parse_method_response (string method_response, int length, out Value value) throws Fault

Warning: parse_method_response is deprecated.

Parses method_response and returns the return value in value.

Note:

Use parse_response instead.

If method_response is a fault, value will be unchanged, and error will be set to an error of type SOUP_XMLRPC_FAULT, with the error code containing the fault code, and the error message containing the fault string. (If method_response cannot be parsed at all, parse_method_response will return false, but error will be unset.)

Parameters:

method_response

the XML-RPC methodResponse string

length

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

value

on return, the return value from method_call

Returns:

true if a return value was parsed, false if the response could not be parsed, or contained a fault.


Namespace: Soup.XMLRPC
Package: libsoup-2.4



2022 vala-language.org