|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.AspNetCore.Http.Connections;
/// <summary>
/// Specifies transports that the client can use to send HTTP requests.
/// </summary>
/// <remarks>
/// This enumeration has a <see cref="FlagsAttribute"/> attribute that allows a bitwise combination of its member values.
/// </remarks>
[Flags]
public enum HttpTransportType
{
/// <summary>
/// Specifies that no transport is used.
/// </summary>
None = 0,
/// <summary>
/// Specifies that the web sockets transport is used.
/// </summary>
WebSockets = 1,
/// <summary>
/// Specifies that the server sent events transport is used.
/// </summary>
ServerSentEvents = 2,
/// <summary>
/// Specifies that the long polling transport is used.
/// </summary>
LongPolling = 4,
}
|