WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/browser/feeds/sniffer;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIContentSniffer ACString getMIMETypeFromContent ( nsIRequest request , arrayof PRUint8 data , PRUint32 length )
nsIStreamListener void onDataAvailable ( nsIRequest request , nsISupports context , nsIInputStream inputStream , PRUint32 offset , PRUint32 count )
nsIRequestObserver void onStartRequest ( nsIRequest request , nsISupports context )
nsIRequestObserver void onStopRequest ( nsIRequest request , nsISupports context , nsresult statusCode )

Reference documentation is generated from Mozilla's source.