nextcloud-node-client
Version:
Nextcloud client API for node.js applications
19 lines (18 loc) • 432 B
TypeScript
import { IProxy } from "./httpClient";
export interface IBasicAuth {
"username": string;
"password": string;
}
export interface IServerOptions {
"url": string;
"basicAuth": IBasicAuth;
"proxy"?: IProxy;
"logRequestResponse"?: boolean;
}
export default class Server {
url: string;
basicAuth: IBasicAuth;
proxy?: IProxy;
logRequestResponse: boolean;
constructor(options: IServerOptions);
}