共用方式為


BasicLineParser.CreateRequestLine(String, String, ProtocolVersion) Method

Definition

Instantiates a new request line.

[Android.Runtime.Register("createRequestLine", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/RequestLine;", "GetCreateRequestLine_Ljava_lang_String_Ljava_lang_String_Lorg_apache_http_ProtocolVersion_Handler")]
protected virtual Org.Apache.Http.IRequestLine? CreateRequestLine (string? method, string? uri, Org.Apache.Http.ProtocolVersion? ver);
[<Android.Runtime.Register("createRequestLine", "(Ljava/lang/String;Ljava/lang/String;Lorg/apache/http/ProtocolVersion;)Lorg/apache/http/RequestLine;", "GetCreateRequestLine_Ljava_lang_String_Ljava_lang_String_Lorg_apache_http_ProtocolVersion_Handler")>]
abstract member CreateRequestLine : string * string * Org.Apache.Http.ProtocolVersion -> Org.Apache.Http.IRequestLine
override this.CreateRequestLine : string * string * Org.Apache.Http.ProtocolVersion -> Org.Apache.Http.IRequestLine

Parameters

method
String

the request method

uri
String

the requested URI

ver
ProtocolVersion

the protocol version

Returns

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to