Org.Apache.Http.Client.IHttpClient.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;", "GetExecute_Lorg_apache_http_client_methods_HttpUriRequest_Lorg_apache_http_protocol_HttpContext_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.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.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 using the given context. The route to the target will be determined by the HTTP client.

[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