AndroidHttpClient.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExecuteAsync(HttpHost, IHttpRequest, IResponseHandler, IHttpContext)
public System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler, Org.Apache.Http.Protocol.IHttpContext? context);
member this.ExecuteAsync : Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest * Org.Apache.Http.Client.IResponseHandler * Org.Apache.Http.Protocol.IHttpContext -> System.Threading.Tasks.Task<Java.Lang.Object>
Parameters
- target
- HttpHost
- request
- IHttpRequest
- responseHandler
- IResponseHandler
- context
- IHttpContext
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(HttpHost, IHttpRequest, IHttpContext)
public System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Protocol.IHttpContext? context);
member this.ExecuteAsync : Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest * Org.Apache.Http.Protocol.IHttpContext -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse>
Parameters
- target
- HttpHost
- request
- IHttpRequest
- context
- IHttpContext
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(HttpHost, IHttpRequest, IResponseHandler)
public System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler);
member this.ExecuteAsync : Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest * Org.Apache.Http.Client.IResponseHandler -> System.Threading.Tasks.Task<Java.Lang.Object>
Parameters
- target
- HttpHost
- request
- IHttpRequest
- responseHandler
- IResponseHandler
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(IHttpUriRequest, IResponseHandler, IHttpContext)
public System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler, Org.Apache.Http.Protocol.IHttpContext? context);
member this.ExecuteAsync : Org.Apache.Http.Client.Methods.IHttpUriRequest * Org.Apache.Http.Client.IResponseHandler * Org.Apache.Http.Protocol.IHttpContext -> System.Threading.Tasks.Task<Java.Lang.Object>
Parameters
- request
- IHttpUriRequest
- responseHandler
- IResponseHandler
- context
- IHttpContext
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(IHttpUriRequest, IHttpContext)
public System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Protocol.IHttpContext? context);
member this.ExecuteAsync : Org.Apache.Http.Client.Methods.IHttpUriRequest * Org.Apache.Http.Protocol.IHttpContext -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse>
Parameters
- request
- IHttpUriRequest
- context
- IHttpContext
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(IHttpUriRequest, IResponseHandler)
public System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler);
member this.ExecuteAsync : Org.Apache.Http.Client.Methods.IHttpUriRequest * Org.Apache.Http.Client.IResponseHandler -> System.Threading.Tasks.Task<Java.Lang.Object>
Parameters
- request
- IHttpUriRequest
- responseHandler
- IResponseHandler
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(IHttpUriRequest)
public System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (Org.Apache.Http.Client.Methods.IHttpUriRequest? request);
member this.ExecuteAsync : Org.Apache.Http.Client.Methods.IHttpUriRequest -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse>
Parameters
- request
- IHttpUriRequest
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
ExecuteAsync(HttpHost, IHttpRequest)
public System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request);
member this.ExecuteAsync : Org.Apache.Http.HttpHost * Org.Apache.Http.IHttpRequest -> System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse>
Parameters
- target
- HttpHost
- request
- IHttpRequest
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.