Struct xpcom::interfaces::nsIHstsPrimingCallback [] [src]

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

interface nsIHstsPrimingCallback : nsISupports

/**
 * HSTS priming attempts to prevent mixed-content by looking for the
 * Strict-Transport-Security header as a signal from the server that it is
 * safe to upgrade HTTP to HTTPS.
 *
 * Since mixed-content blocking happens very early in the process in AsyncOpen2,
 * the status of mixed-content blocking is stored in the LoadInfo and then used
 * to determine whether to send a priming request or not.
 *
 * This interface is implemented by nsHttpChannel so that it can receive the
 * result of HSTS priming.
 */

Methods

impl nsIHstsPrimingCallback
[src]

[src]

Cast this nsIHstsPrimingCallback to one of its base interfaces.

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

IID: nsIID = nsID(3970357962, 16170, 18986, [179, 191, 159, 36, 247, 155, 201, 153])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHstsPrimingCallback
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.