HttpProtocol Class

Definition

Contains methods to verify the request protocol version of an HTTP request.

public ref class HttpProtocol abstract sealed
public static class HttpProtocol
type HttpProtocol = class
Public Class HttpProtocol
Inheritance
HttpProtocol

Fields

Http09

HTTP protocol version 0.9.

Http10

HTTP protocol version 1.0.

Http11

HTTP protocol version 1.1.

Http2

HTTP protocol version 2.

Http3

HTTP protcol version 3.

Methods

GetHttpProtocol(Version)

Gets the HTTP request protocol for the specified Version.

IsHttp09(String)

Returns a value that indicates if the HTTP request protocol is HTTP/0.9.

IsHttp10(String)

Returns a value that indicates if the HTTP request protocol is HTTP/1.0.

IsHttp11(String)

Returns a value that indicates if the HTTP request protocol is HTTP/1.1.

IsHttp2(String)

Returns a value that indicates if the HTTP request protocol is HTTP/2.

IsHttp3(String)

Returns a value that indicates if the HTTP request protocol is HTTP/3.

Applies to