Implement tunnelInformation

Part of #81388
This commit is contained in:
Alex Ross
2019-12-11 12:23:15 +01:00
parent bb6dc66853
commit e7dd2dda9b
6 changed files with 73 additions and 22 deletions

View File

@@ -780,6 +780,7 @@ export interface MainThreadWindowShape extends IDisposable {
export interface MainThreadTunnelServiceShape extends IDisposable {
$openTunnel(tunnelOptions: TunnelOptions): Promise<TunnelDto | undefined>;
$closeTunnel(remotePort: number): Promise<void>;
$addDetected(tunnels: { remote: { port: number, host: string }, localAddress: string }[]): Promise<void>;
}
// -- extension host