live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Retrieve shared servers programmatically

Open quoc-ho opened this issue 8 months ago • 0 comments

On the guest side, is it possible to retrieve all the servers that are shared by the host in an array of Servers?

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.

quoc-ho avatar Jun 30 '24 04:06 quoc-ho