message_set_response


Description:


[ Version ( since = "2.52" ) ]
public bool message_set_response (Message msg, Variant value) throws Error

Sets the status code and response body of msg to indicate a successful XML-RPC call, with a return value given by value .

To set a fault response, use message_set_fault.

See build_request for serialization details.

If value is floating, it is consumed.

Parameters:

msg

an XML-RPC request

value

a Variant

Returns:

true on success, false otherwise.


Namespace: Soup.XMLRPC
Package: libsoup-2.4