Skip to content

TypeScript API / laikacms/storage/webdav / parseMultiStatus

Function: parseMultiStatus() ​

ts
function parseMultiStatus(xml): WebDavEntry[];

Parse a 207 Multi-Status body into a flat list of WebDavEntry. Order is preserved: for a Depth: 1 listing the requested collection itself is typically the first entry, followed by its children.

Parameters ​

ParameterType
xmlstring

Returns ​

WebDavEntry[]

Released under the MIT License.