HttpProtocol.IsHttp11(String) Method

Definition

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

public:
 static bool IsHttp11(System::String ^ protocol);
public static bool IsHttp11 (string protocol);
static member IsHttp11 : string -> bool
Public Shared Function IsHttp11 (protocol As String) As Boolean

Parameters

protocol
String

The HTTP request protocol.

Returns

true if the protocol is HTTP/1.1; otherwise, false.

Applies to