Org.Apache.Http.IHttpResponse.SetStatusLine Method
Sets the status line of this response.

Syntax

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

Parameters

ver
the HTTP version
code
the status code

Remarks

Sets the status line of this response. The reason phrase will be determined based on the current IHttpResponse.Locale.

[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