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/network/input-stream-pump;1
This component implements the following interfaces:
Constants
Properties
nsLoadFlags nsIRequest.loadFlags
The load flags of this request. Bits 0-15 are reserved.
When added to a load group, this request's load flags are merged with the load flags of the load group.
nsILoadGroup nsIRequest.loadGroup
The load group of this request. While pending, the request is a member of the load group. It is the responsibility of the request to implement this policy.
readonly AUTF8String nsIRequest.name
The name of the request. Often this is the URI of the request.
readonly nsresult nsIRequest.status
The error status associated with the request.
Methods
| Interface | Method |
|---|---|
| nsIInputStreamPump |
void asyncRead ( nsIStreamListener listener , nsISupports listenerContext )
|
| nsIRequest |
void cancel ( nsresult status )
|
| nsIInputStreamPump |
void init ( nsIInputStream stream , PRInt64 streamPos , PRInt64 streamLen , PRUint32 segmentSize , PRUint32 segmentCount , PRBool closeWhenDone )
|
| nsIRequest |
PRBool isPending ( )
|
| nsIRequest |
void resume ( )
|
| nsIRequest |
void suspend ( )
|
Reference documentation is generated from Mozilla's source.
