@microsoft/dev-tunnels-connections
Version:
Tunnels library for Visual Studio tools
30 lines • 994 B
TypeScript
/**
* Tunnel client or host connection status.
*/
export declare enum ConnectionStatus {
/**
* The connection has not started yet. This is the initial status.
*/
None = "none",
/**
* Connecting (if changed from None) or reconnecting (if changed from Connected) to the tunnel.
*/
Connecting = "connecting",
/**
* Connecting and refreshing the tunnel access token to connect with.
*/
RefreshingTunnelAccessToken = "refreshingTunnelAccessToken",
/**
* Connected to the tunnel.
*/
Connected = "connected",
/**
* Disconnected from the tunnel and could not reconnect either due to disposal, service down, tunnel deleted, or token expiration. This is the final status.
*/
Disconnected = "disconnected",
/**
* @deprecated Use {@link TunnelConnection.refreshingTunnel} instead.
*/
RefreshingTunnelHostPublicKey = "refreshingTunnelHostPublicKey"
}
//# sourceMappingURL=connectionStatus.d.ts.map