Język

AbstractClientConnAdapter.OpenAsync Method

Definition

public System.Threading.Tasks.Task OpenAsync(Org.Apache.Http.Conn.Routing.HttpRoute? route, Org.Apache.Http.Protocol.IHttpContext? context, Org.Apache.Http.Params.IHttpParams? params);
member this.OpenAsync : Org.Apache.Http.Conn.Routing.HttpRoute * Org.Apache.Http.Protocol.IHttpContext * Org.Apache.Http.Params.IHttpParams -> System.Threading.Tasks.Task

Parameters

route
HttpRoute

The route to open, starting with its first proxy if present, or its target otherwise.

context
IHttpContext

The context for opening the connection.

params
IHttpParams

The parameters for opening the connection.

Returns

A task that represents the call to Open, including any exception from that call.

Remarks

This is a managed wrapper, not a separate Java asynchronous operation. The binding generator uses Task.Run to call the synchronous method.

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