Sdílet prostřednictvím


BasicLineParser.CreateStatusLine(ProtocolVersion, Int32, String) Method

Definition

Instantiates a new status line.

[Android.Runtime.Register("createStatusLine", "(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)Lorg/apache/http/StatusLine;", "GetCreateStatusLine_Lorg_apache_http_ProtocolVersion_ILjava_lang_String_Handler")]
protected virtual Org.Apache.Http.IStatusLine? CreateStatusLine (Org.Apache.Http.ProtocolVersion? ver, int status, string? reason);
[<Android.Runtime.Register("createStatusLine", "(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)Lorg/apache/http/StatusLine;", "GetCreateStatusLine_Lorg_apache_http_ProtocolVersion_ILjava_lang_String_Handler")>]
abstract member CreateStatusLine : Org.Apache.Http.ProtocolVersion * int * string -> Org.Apache.Http.IStatusLine
override this.CreateStatusLine : Org.Apache.Http.ProtocolVersion * int * string -> Org.Apache.Http.IStatusLine

Parameters

ver
ProtocolVersion

the protocol version

status
Int32

the status code

reason
String

the reason phrase

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