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