Org.Apache.Http.IHttpResponse.SetStatusLine Method
Sets the status line of this response with a reason phrase.

Syntax

[Android.Runtime.Register("setStatusLine", "(Lorg/apache/http/ProtocolVersion;ILjava/lang/String;)V", "GetSetStatusLine_Lorg_apache_http_ProtocolVersion_ILjava_lang_String_Handler:Org.Apache.Http.IHttpResponseInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetStatusLine (ProtocolVersion ver, int code, string reason)

Parameters

ver
the HTTP version
code
the status code
reason
the reason phrase, or null to omit

Remarks

Sets the status line of this response with a reason phrase.

[Android Documentation]

Requirements

Namespace: Org.Apache.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1