HttpProtocol.IsHttp10(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.