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

Syntax

[Android.Runtime.Register("execute", "(Lorg/apache/http/client/methods/HttpUriRequest;Lorg/apache/http/protocol/HttpContext;)Lorg/apache/http/HttpResponse;", "")]
public Org.Apache.Http.IHttpResponse Execute (Org.Apache.Http.Client.Methods.IHttpUriRequest request, Org.Apache.Http.Protocol.IHttpContext context)

Parameters

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 using the given context. The route to the target will be determined by the HTTP client.

[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