live-share
live-share copied to clipboard
Retrieve shared servers programmatically
On the guest side, is it possible to retrieve all the servers that are shared by the host in an array of Server
s?
export interface Server {
/**
* Local TCP port the server is listening on.
*/
port: number;
/**
* User-friendly name of the server.
*/
displayName?: string;
/**
* Default URL users will be redirected to when accessing the server.
*/
browseUrl?: string;
}
Thanks.