HttpProtocol.IsHttp10(String) Methode

Definition

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

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

Parameter

protocol
String

Das HTTP-Anforderungsprotokoll.

Gibt zurück

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

Gilt für: