28 lines
1.1 KiB
JavaScript
28 lines
1.1 KiB
JavaScript
"use strict";
|
|
// Copyright (c) Microsoft Corporation.
|
|
// Licensed under the MIT license.
|
|
// Generated from ../../../cs/src/Contracts/TunnelConnectionMode.cs
|
|
/* eslint-disable */
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.TunnelConnectionMode = void 0;
|
|
/**
|
|
* Specifies the connection protocol / implementation for a tunnel.
|
|
*
|
|
* Depending on the connection mode, hosts or clients might need to use different
|
|
* authentication and connection protocols.
|
|
*/
|
|
var TunnelConnectionMode;
|
|
(function (TunnelConnectionMode) {
|
|
/**
|
|
* Connect directly to the host over the local network.
|
|
*
|
|
* While it's technically not "tunneling", this mode may be combined with others to
|
|
* enable choosing the most efficient connection mode available.
|
|
*/
|
|
TunnelConnectionMode["LocalNetwork"] = "LocalNetwork";
|
|
/**
|
|
* Use the tunnel service's integrated relay function.
|
|
*/
|
|
TunnelConnectionMode["TunnelRelay"] = "TunnelRelay";
|
|
})(TunnelConnectionMode = exports.TunnelConnectionMode || (exports.TunnelConnectionMode = {}));
|
|
//# sourceMappingURL=tunnelConnectionMode.js.map
|