Org.Apache.Http.Client.IHttpClient.Execute Method
Executes a request to the target using the default context.

Syntax

[Android.Runtime.Register("execute", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;)Lorg/apache/http/HttpResponse;", "GetExecute_Lorg_apache_http_HttpHost_Lorg_apache_http_HttpRequest_Handler:Org.Apache.Http.Client.IHttpClientInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IHttpResponse Execute (Org.Apache.Http.HttpHost target, Org.Apache.Http.IHttpRequest request)

Parameters

target
the target host for the request. Implementations may accept null if they can still determine a route, for example to a default target or by inspecting the request.
request
the request to execute

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionin case of a problem or the connection was aborted
Org.Apache.Http.Client.ClientProtocolExceptionin case of an http protocol error

Remarks

Executes a request to the target using the default context.

[Android Documentation]

Requirements

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