Share via


HttpProtocols Enum

Definition

HTTP protocol versions

This enumeration supports a bitwise combination of its member values.

public enum class HttpProtocols
[System.Flags]
public enum HttpProtocols
[<System.Flags>]
type HttpProtocols = 
Public Enum HttpProtocols
Inheritance
HttpProtocols
Attributes

Fields

Name Value Description
None 0

No HTTP protocol version was specified.

Http1 1

The HTTP/1.0 protocol version.

Http2 2

The HTTP/2.0 protocol version.

Http1AndHttp2 3

The Http1 and Http2 protocol versions.

Http3 4

The HTTP/3.0 protocol version.

Http1AndHttp2AndHttp3 7

The Http1, Http2, and Http3 protocol versions.

Applies to