UNPKG

nephele

Version:

Highly customizable and extensible WebDAV server for Node.js and Express.

51 lines (50 loc) 1.34 kB
export declare class PropStatStatus { statusCode: number; statusMessage: string; body: { [k: string]: any; } | undefined; prop: { [k: string]: any; } | undefined; description: string | undefined; constructor(statusCode: number, statusMessage?: string); toString(): string; setBody(body: { [k: string]: any; } | undefined): void; setProp(prop: { [k: string]: any; } | undefined): void; render(): { [k: string]: any; }; } export declare class Status { element: string; statusCode: number; statusMessage: string; body: { [k: string]: any; } | undefined; propStatStatuses: PropStatStatus[]; description: string | undefined; href: URL; constructor(href: URL, statusCode: number, statusMessage?: string, element?: string); toString(): string; setDescription(description: string | undefined): void; setBody(body: { [k: string]: any; } | undefined): void; addPropStatStatus(propStatStatus: PropStatStatus): void; render(): { [k: string]: any; }; } export declare class MultiStatus { statuses: Status[]; description: string | undefined; addStatus(status: Status): void; setDescription(description: string | undefined): void; render(): any; }