AbstractClientConnAdapter.OpenAsync 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.
Runs Open(HttpRoute, IHttpContext, IHttpParams) through Task scheduling.
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.