traverse_multistatus_response


Description:

public bool traverse_multistatus_response (Message? message, ByteArray xml_data, WebDAVPropstatTraverseFunc? func) throws Error

Traverses a DAV:multistatus response and calls func for each returned DAV:propstat.

The message, if provided, is used to verify that the response is a multi-status and that the Content-Type is properly set. It's used to get a request URI as well.

Parameters:

this

an WebDAVSession

message

an optional Message corresponding to the response, or null

xml_data

a ByteArray containing DAV:multistatus response

func

an WebDAVPropstatTraverseFunc function to call for each DAV:propstat in the multistatus response

func_user_data

user data passed to func

Returns:

Whether succeeded.