Scheme(String, ISocketFactory, Int32) Constructor
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 new scheme.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/apache/http/conn/scheme/SocketFactory;I)V", "")]
public Scheme(string? name, Org.Apache.Http.Conn.Schemes.ISocketFactory? factory, int port);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/apache/http/conn/scheme/SocketFactory;I)V", "")>]
new Org.Apache.Http.Conn.Schemes.Scheme : string * Org.Apache.Http.Conn.Schemes.ISocketFactory * int -> Org.Apache.Http.Conn.Schemes.Scheme
Parameters
- name
- String
the scheme name, such as http; it is converted to lowercase
- factory
- ISocketFactory
the factory that creates sockets for this scheme
- port
- Int32
the scheme's default port
- 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.