(url: URL, name: string)
| 243 | } |
| 244 | |
| 245 | export async function shareServer(url: URL, name: string): Promise<vscode.Disposable> { |
| 246 | return liveSession.shareServer({ |
| 247 | port: parseInt(url.port), |
| 248 | displayName: `${name} (${url.host})`, |
| 249 | browseUrl: url.toString() |
| 250 | }); |
| 251 | } |
| 252 | |
| 253 | // Share and close browser are called from the |
| 254 | // host session |
no outgoing calls
no test coverage detected