HttpTransportType Enum

Definition

Specifies transports that the client can use to send HTTP requests.

This enumeration supports a bitwise combination of its member values.

C#
[System.Flags]
public enum HttpTransportType
Inheritance
HttpTransportType
Attributes

Fields

Name Value Description
None 0

Specifies that no transport is used.

WebSockets 1

Specifies that the web sockets transport is used.

ServerSentEvents 2

Specifies that the server sent events transport is used.

LongPolling 4

Specifies that the long polling transport is used.

Remarks

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Applies to

Product Versions
ASP.NET Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0