Add extension source to forwarded ports

Part of microsoft/vscode-remote-release#4021
This commit is contained in:
Alex Ross
2020-11-26 12:02:58 +01:00
parent 2f8f00d622
commit b01183bda2
7 changed files with 36 additions and 18 deletions

View File

@@ -955,7 +955,7 @@ export interface MainThreadWindowShape extends IDisposable {
}
export interface MainThreadTunnelServiceShape extends IDisposable {
$openTunnel(tunnelOptions: TunnelOptions): Promise<TunnelDto | undefined>;
$openTunnel(tunnelOptions: TunnelOptions, source: string | undefined): Promise<TunnelDto | undefined>;
$closeTunnel(remote: { host: string, port: number }): Promise<void>;
$getTunnels(): Promise<TunnelDescription[]>;
$setTunnelProvider(): Promise<void>;