PlainSocketFactory Constructors
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
| Name | Description |
|---|---|
| PlainSocketFactory() |
Creates a plain socket factory. |
| PlainSocketFactory(IHostNameResolver) |
Creates a plain socket factory that uses the specified host name resolver. |
PlainSocketFactory()
Creates a plain socket factory.
[Android.Runtime.Register(".ctor", "()V", "")]
public PlainSocketFactory();
- 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.
Applies to
PlainSocketFactory(IHostNameResolver)
Creates a plain socket factory that uses the specified host name resolver.
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/scheme/HostNameResolver;)V", "")]
public PlainSocketFactory(Org.Apache.Http.Conn.Schemes.IHostNameResolver? nameResolver);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/conn/scheme/HostNameResolver;)V", "")>]
new Org.Apache.Http.Conn.Schemes.PlainSocketFactory : Org.Apache.Http.Conn.Schemes.IHostNameResolver -> Org.Apache.Http.Conn.Schemes.PlainSocketFactory
Parameters
- nameResolver
- IHostNameResolver
the resolver to use for target host names
- 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.