Interface WebviewPortMapping

Defines a port mapping used for localhost inside the webview.

interface WebviewPortMapping {
    extensionHostPort: number;
    webviewPort: number;
}

Properties

extensionHostPort: number

Destination port. The webviewPort is resolved to this port.

webviewPort: number

Localhost port to remap inside the webview.