imgIRequest interface

 @author Stuart Parmenter <pavlov@netscape.com>
 @version 0.1
 @see imagelib2
[scriptable, uuid(ccf705f6-1dd1-11b2-82ef-e18eccf7f7ec)]
interface imgIRequest : nsIRequest

Constants

 Bits set in the return value from imageStatus
 @name statusflags
const long STATUS_NONE = 0

          
const long STATUS_SIZE_AVAILABLE = 1

          
const long STATUS_LOAD_PARTIAL = 2

          
const long STATUS_LOAD_COMPLETE = 4

          
const long STATUS_ERROR = 8

          
const long STATUS_FRAME_COMPLETE = 16

Attributes


          
readonly attribute nsIURI URI

          
readonly attribute imgIDecoderObserver decoderObserver
 the image container...
 @return the image object associated with the request.
 @attention NEED DOCS
readonly attribute imgIContainer image
 something
 @attention NEED DOCS
readonly attribute unsigned long imageStatus

          
readonly attribute string mimeType

Methods

 Clone this request; the returned request will have aObserver as the
 observer.  aObserver will be notified synchronously (before the clone()
 call returns) with all the notifications that have already been dispatched
 for this image load.
imgIRequest clone(in imgIDecoderObserver aObserver)