HttpProtocol.IsHttp10(String) Method

Definition

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

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

Parameters

protocol
String

The HTTP request protocol.

Returns

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

Applies to