123456789101112131415161718192021222324 |
- // Licensed to the .NET Foundation under one or more agreements.
- // The .NET Foundation licenses this file to you under the MIT license.
- // 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. */
- export 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 || (HttpTransportType = {}));
- /** Specifies the transfer format for a connection. */
- export 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 || (TransferFormat = {}));
- //# sourceMappingURL=ITransport.js.map
|