Struct xpcom::interfaces::nsIHTTPHeaderListener [] [src]

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

interface nsIHTTPHeaderListener : nsISupports

/**
 * The nsIHTTPHeaderListener interface allows plugin authors to
 * access HTTP Response headers after issuing an
 * nsIPluginHost::{GetURL,PostURL}() call. <P>
 */

Methods

impl nsIHTTPHeaderListener
[src]

[src]

Cast this nsIHTTPHeaderListener to one of its base interfaces.

impl nsIHTTPHeaderListener
[src]

[src]

/**
   * Called for each HTTP Response header.
   * NOTE: You must copy the values of the params.
   */

void newResponseHeader (in string headerName, in string headerValue);

[src]

/**
   * Called once for the HTTP Response status line.
   * Value does NOT include a terminating newline.
   * NOTE: You must copy this value.
   */

void statusLine (in string line);

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

IID: nsIID = nsID(3931234488, 34588, 19333, [146, 218, 111, 64, 3, 148, 197, 236])

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

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIHTTPHeaderListener
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.