Org.Apache.Http.IHttpConnection.Close Method
Closes this connection gracefully.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler:Org.Apache.Http.IHttpConnectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Close ()

Exceptions

TypeReason
Java.IO.IOException

Remarks

Closes this connection gracefully. This method will attempt to flush the transmitter's internal buffer prior to closing the underlying socket. This method MUST NOT be called from a different thread to force shutdown of the connection. Use IHttpConnection.Shutdown instead.

[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