IClientConnectionManagerFactory.NewInstance 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.
Creates a connection manager with the specified parameters and scheme registry.
[Android.Runtime.Register("newInstance", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/scheme/SchemeRegistry;)Lorg/apache/http/conn/ClientConnectionManager;", "GetNewInstance_Lorg_apache_http_params_HttpParams_Lorg_apache_http_conn_scheme_SchemeRegistry_Handler:Org.Apache.Http.Conn.IClientConnectionManagerFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.Conn.IClientConnectionManager? NewInstance(Org.Apache.Http.Params.IHttpParams? params, Org.Apache.Http.Conn.Schemes.SchemeRegistry? schemeRegistry);
[<Android.Runtime.Register("newInstance", "(Lorg/apache/http/params/HttpParams;Lorg/apache/http/conn/scheme/SchemeRegistry;)Lorg/apache/http/conn/ClientConnectionManager;", "GetNewInstance_Lorg_apache_http_params_HttpParams_Lorg_apache_http_conn_scheme_SchemeRegistry_Handler:Org.Apache.Http.Conn.IClientConnectionManagerFactoryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member NewInstance : Org.Apache.Http.Params.IHttpParams * Org.Apache.Http.Conn.Schemes.SchemeRegistry -> Org.Apache.Http.Conn.IClientConnectionManager
Parameters
- params
- IHttpParams
The HTTP parameters used to configure the connection manager.
- schemeRegistry
- SchemeRegistry
The registry of URI schemes and socket factories for the connection manager.
Returns
The new connection manager.
- Attributes
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.