Android.Net.Http.AndroidHttpClient.Execute Method
Executes a request to the target using the given context.

Syntax

[Android.Runtime.Register("execute", "(Lorg/apache/http/HttpHost;Lorg/apache/http/HttpRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "")]
public Org.Apache.Http.IHttpResponse Execute (Org.Apache.Http.HttpHost target, Org.Apache.Http.IHttpRequest request, Org.Apache.Http.Protocol.IHttpContext context)

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
context
the context to use for the execution, or null to use the default context

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Executes a request to the target using the given 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