MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / shareServer

Function shareServer

src/liveShare/shareSession.ts:245–251  ·  view source on GitHub ↗
(url: URL, name: string)

Source from the content-addressed store, hash-verified

243}
244
245export 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

Callers 2

showViewerMethod · 0.90
shareBrowserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected