HttpProtocol.IsHttp2(String) Methode

Definition

Gibt einen Wert zurück, der angibt, ob das HTTP-Anforderungsprotokoll HTTP/2 ist.

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

Parameter

protocol
String

Das HTTP-Anforderungsprotokoll.

Gibt zurück

true , wenn das Protokoll HTTP/2 ist; falseandernfalls .

Gilt für: