HttpProtocol.IsHttp10(String) 方法

定義

傳回值,指出 HTTP 要求通訊協定是否為 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

參數

protocol
String

HTTP 要求通訊協定。

傳回

true 如果通訊協定是 HTTP/1.0,則為 ;否則為 false

適用於