123456789101112131415161718192021222324252627 |
- "use strict";
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the MIT license.
- Object.defineProperty(exports, "__esModule", { value: true });
- exports.TransferFormat = exports.HttpTransportType = void 0;
- // This will be treated as a bit flag in the future, so we keep it using power-of-two values.
- /** Specifies a specific HTTP transport type. */
- var HttpTransportType;
- (function (HttpTransportType) {
- /** Specifies no transport preference. */
- HttpTransportType[HttpTransportType["None"] = 0] = "None";
- /** Specifies the WebSockets transport. */
- HttpTransportType[HttpTransportType["WebSockets"] = 1] = "WebSockets";
- /** Specifies the Server-Sent Events transport. */
- HttpTransportType[HttpTransportType["ServerSentEvents"] = 2] = "ServerSentEvents";
- /** Specifies the Long Polling transport. */
- HttpTransportType[HttpTransportType["LongPolling"] = 4] = "LongPolling";
- })(HttpTransportType = exports.HttpTransportType || (exports.HttpTransportType = {}));
- /** Specifies the transfer format for a connection. */
- var TransferFormat;
- (function (TransferFormat) {
- /** Specifies that only text data will be transmitted over the connection. */
- TransferFormat[TransferFormat["Text"] = 1] = "Text";
- /** Specifies that binary data will be transmitted over the connection. */
- TransferFormat[TransferFormat["Binary"] = 2] = "Binary";
- })(TransferFormat = exports.TransferFormat || (exports.TransferFormat = {}));
- //# sourceMappingURL=ITransport.js.map
|