| 4 | import { Server } from "proxy-chain"; |
| 5 | |
| 6 | export interface IProxyServer { |
| 7 | readonly url: string; |
| 8 | readonly upstreamProxyUrl: string; |
| 9 | readonly txBytes: number; |
| 10 | readonly rxBytes: number; |
| 11 | listen(): Promise<void>; |
| 12 | close(force?: boolean): Promise<void>; |
| 13 | } |
| 14 | |
| 15 | export class ProxyServer extends Server implements IProxyServer { |
| 16 | public url: string; |
no outgoing calls
no test coverage detected