Org.Apache.Http.Conn.Schemes.Scheme Class
Encapsulates specifics of a protocol scheme such as "http" or "https".

See Also: Scheme Members

Syntax

[Android.Runtime.Register("org/apache/http/conn/scheme/Scheme", DoNotGenerateAcw=true)]
public sealed class Scheme : Java.Lang.Object

Remarks

Encapsulates specifics of a protocol scheme such as "http" or "https". Schemes are identified by lowercase names. Supported schemes are typically collected in a Org.Apache.Http.Conn.Schemes.SchemeRegistry.

java Example

 Scheme https = new Scheme("https", new MySecureSocketFactory(), 443);
 SchemeRegistry.DEFAULT.register(https);
 

For example, to configure support for "https://" URLs, you could write code like the following:

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn.Schemes
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1