Share via


HttpProtocol.IsHttp11(String) メソッド

定義

HTTP 要求プロトコルが 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

パラメーター

protocol
String

HTTP 要求プロトコル。

戻り値

true プロトコルが HTTP/1.1 の場合は 。それ以外の場合は false

適用対象