Struct xpcom::interfaces::nsIHttpHeaderVisitor
[−]
[src]
#[repr(C)]pub struct nsIHttpHeaderVisitor { /* fields omitted */ }
interface nsIHttpHeaderVisitor : nsISupports
/**
* Implement this interface to visit http headers.
*/
Methods
impl nsIHttpHeaderVisitor
[src]
pub fn coerce<T: nsIHttpHeaderVisitorCoerce>(&self) -> &T
[src]
Cast this nsIHttpHeaderVisitor
to one of its base interfaces.
impl nsIHttpHeaderVisitor
[src]
pub unsafe fn VisitHeader(
&self,
aHeader: &nsACString,
aValue: &nsACString
) -> nsresult
[src]
&self,
aHeader: &nsACString,
aValue: &nsACString
) -> nsresult
/**
* Called by the nsIHttpChannel implementation when visiting request and
* response headers.
*
* @param aHeader
* the header being visited.
* @param aValue
* the header value (possibly a comma delimited list).
*
* @throw any exception to terminate enumeration
*/
[must_use] void visitHeader (in ACString aHeader, in ACString aValue);
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 nsIHttpHeaderVisitor
[src]
const IID: nsIID
IID: nsIID = nsID(893462617, 47577, 16956, [136, 102, 45, 69, 89, 253, 210, 190])
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 nsIHttpHeaderVisitor
[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 nsIHttpHeaderVisitor
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.