UNPKG

432 BTypeScriptView Raw
1import { IProxy } from "./httpClient";
2export interface IBasicAuth {
3 "username": string;
4 "password": string;
5}
6export interface IServerOptions {
7 "url": string;
8 "basicAuth": IBasicAuth;
9 "proxy"?: IProxy;
10 "logRequestResponse"?: boolean;
11}
12export default class Server {
13 url: string;
14 basicAuth: IBasicAuth;
15 proxy?: IProxy;
16 logRequestResponse: boolean;
17 constructor(options: IServerOptions);
18}