Struct xpcom::interfaces::nsISocketProvider [] [src]

#[repr(C)]
pub struct nsISocketProvider { /* fields omitted */ }

interface nsISocketProvider : nsISupports

/**
 * nsISocketProvider
 */

Methods

impl nsISocketProvider
[src]

[src]

Cast this nsISocketProvider to one of its base interfaces.

impl nsISocketProvider
[src]

PROXY_RESOLVES_HOST: i64 = 1
/**
     * PROXY_RESOLVES_HOST
     *
     * This flag is set if the proxy is to perform hostname resolution instead
     * of the client.  When set, the hostname parameter passed when in this
     * interface will be used instead of the address structure passed for a
     * later connect et al. request.
     */

ANONYMOUS_CONNECT: i64 = 2
/**
     * When setting this flag, the socket will not apply any
     * credentials when establishing a connection. For example,
     * an SSL connection would not send any client-certificates
     * if this flag is set.
     */

NO_PERMANENT_STORAGE: i64 = 4
/**
     * If set, indicates that the connection was initiated from a source
     * defined as being private in the sense of Private Browsing. Generally,
     * there should be no state shared between connections that are private
     * and those that are not; it is OK for multiple private connections
     * to share state with each other, and it is OK for multiple non-private
     * connections to share state with each other.
     */

MITM_OK: i64 = 8
/**
     * This flag is an explicit opt-in that allows a normally secure socket
     * provider to use, at its discretion, an insecure algorithm. e.g.
     * a TLS socket without authentication.
     */

BE_CONSERVATIVE: i64 = 16
/**
     * If set, do not use newer protocol features that might have interop problems
     * on the Internet. Intended only for use with critical infra like the updater.
     * default is false.
     */

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsISocketProvider
[src]

IID: nsIID = nsID(1351439465, 40478, 18952, [181, 176, 124, 254, 187, 161, 229, 26])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsISocketProvider
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISocketProvider
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.