HttpProtocol.IsHttp2(String) Méthode

Définition

Retourne une valeur qui indique si le protocole de requête HTTP est HTTP/2.

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

Paramètres

protocol
String

Protocole de requête HTTP.

Retours

true si le protocole est HTTP/2 ; sinon, false.

S’applique à