Org.Apache.Http.Conn.IConnectionReleaseTrigger.ReleaseConnection Method
Releases the connection with the option of keep-alive.

Syntax

[Android.Runtime.Register("releaseConnection", "()V", "GetReleaseConnectionHandler:Org.Apache.Http.Conn.IConnectionReleaseTriggerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void ReleaseConnection ()

Exceptions

TypeReason
Java.IO.IOExceptionin case of an IO problem. The connection will be released anyway.

Remarks

Releases the connection with the option of keep-alive. This is a "graceful" release and may cause IO operations for consuming the remainder of a response entity. Use IConnectionReleaseTrigger.AbortConnection for a hard release. The connection may be reused as specified by the duration.

[Android Documentation]

Requirements

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