IHttpClientExtensions.ExecuteAsync Method

Definition

Overloads

ExecuteAsync(IHttpClient, IHttpUriRequest)
ExecuteAsync(IHttpClient, IHttpUriRequest, IResponseHandler)
ExecuteAsync(IHttpClient, IHttpUriRequest, IHttpContext)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest)
ExecuteAsync(IHttpClient, IHttpUriRequest, IResponseHandler, IHttpContext)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IResponseHandler)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IHttpContext)
ExecuteAsync(IHttpClient, HttpHost, IHttpRequest, IResponseHandler, IHttpContext)

ExecuteAsync(IHttpClient, IHttpUriRequest)

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.Client.Methods.IHttpUriRequest? request);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, IHttpUriRequest, IResponseHandler)

public static System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, IHttpUriRequest, IHttpContext)

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Protocol.IHttpContext? context);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, HttpHost, IHttpRequest)

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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.

Applies to

ExecuteAsync(IHttpClient, IHttpUriRequest, IResponseHandler, IHttpContext)

public static System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.Client.Methods.IHttpUriRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler, Org.Apache.Http.Protocol.IHttpContext? context);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, HttpHost, IHttpRequest, IResponseHandler)

public static System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, HttpHost, IHttpRequest, IHttpContext)

public static System.Threading.Tasks.Task<Org.Apache.Http.IHttpResponse?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Protocol.IHttpContext? context);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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(IHttpClient, HttpHost, IHttpRequest, IResponseHandler, IHttpContext)

public static System.Threading.Tasks.Task<Java.Lang.Object?> ExecuteAsync (this Org.Apache.Http.Client.IHttpClient self, Org.Apache.Http.HttpHost? target, Org.Apache.Http.IHttpRequest? request, Org.Apache.Http.Client.IResponseHandler? responseHandler, Org.Apache.Http.Protocol.IHttpContext? context);
static member ExecuteAsync : Org.Apache.Http.Client.IHttpClient * 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