Struct xpcom::interfaces::nsISpeculativeConnect [] [src]

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

interface nsISpeculativeConnect : nsISupports

Methods

impl nsISpeculativeConnect
[src]

[src]

Cast this nsISpeculativeConnect to one of its base interfaces.

impl nsISpeculativeConnect
[src]

[src]

/**
     * Called as a hint to indicate a new transaction for the URI is likely coming
     * soon. The implementer may use this information to start a TCP
     * and/or SSL level handshake for that resource immediately so that it is
     * ready and/or progressed when the transaction is actually submitted.
     *
     * No obligation is taken on by the implementer, nor is the submitter obligated
     * to actually open the new channel.
     *
     * @param aURI the URI of the hinted transaction
     * @param aPrincipal the principal that will be used for opening the
     *        channel of the hinted transaction.
     * @param aCallbacks any security callbacks for use with SSL for interfaces
     *        such as nsIBadCertListener. May be null.
     *
     */

void speculativeConnect (in nsIURI aURI, in nsIInterfaceRequestor aCallbacks);

[src]

void speculativeConnect2 (in nsIURI aURI, in nsIPrincipal aPrincipal, in nsIInterfaceRequestor aCallbacks);

[src]

void speculativeAnonymousConnect (in nsIURI aURI, in nsIInterfaceRequestor aCallbacks);

[src]

void speculativeAnonymousConnect2 (in nsIURI aURI, in nsIPrincipal aPrincipal, in nsIInterfaceRequestor aCallbacks);

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 nsISpeculativeConnect
[src]

IID: nsIID = nsID(3611957164, 23434, 18468, [163, 9, 177, 240, 74, 60, 74, 237])

[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 nsISpeculativeConnect
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsISpeculativeConnect
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.