1 | "use strict";
|
2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
4 | };
|
5 | Object.defineProperty(exports, "__esModule", { value: true });
|
6 | const debug_1 = __importDefault(require("debug"));
|
7 | const debug = debug_1.default("NCServer");
|
8 |
|
9 | class Server {
|
10 |
|
11 | constructor(options) {
|
12 | debug("constructor");
|
13 | this.url = options.url;
|
14 | this.basicAuth = options.basicAuth;
|
15 | this.proxy = options.proxy;
|
16 | if (options.logRequestResponse) {
|
17 | this.logRequestResponse = true;
|
18 | }
|
19 | else {
|
20 | this.logRequestResponse = false;
|
21 | }
|
22 | }
|
23 | }
|
24 | exports.default = Server;
|