Android.Net.Http.AndroidHttpClient.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;", "")]
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.IOException

Remarks

Executes a request to the target using the default context.

[Android Documentation]

Requirements

Namespace: Android.Net.Http
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8