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]
pub fn coerce<T: nsIHTTPHeaderListenerCoerce>(&self) -> &T
[src]
Cast this nsIHTTPHeaderListener
to one of its base interfaces.
impl nsIHTTPHeaderListener
[src]
pub unsafe fn NewResponseHeader(
&self,
headerName: *const c_char,
headerValue: *const c_char
) -> nsresult
[src]
&self,
headerName: *const c_char,
headerValue: *const c_char
) -> nsresult
/**
* Called for each HTTP Response header.
* NOTE: You must copy the values of the params.
*/
void newResponseHeader (in string headerName, in string headerValue);
pub unsafe fn StatusLine(&self, line: *const c_char) -> nsresult
[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>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsIHTTPHeaderListener
[src]
const IID: nsIID
IID: nsIID = nsID(3931234488, 34588, 19333, [146, 218, 111, 64, 3, 148, 197, 236])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[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]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsIHTTPHeaderListener
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.