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/async-stream-copier;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 |
|---|---|
| nsIAsyncStreamCopier |
void asyncCopy ( nsIRequestObserver observer , nsISupports observerContext )
|
| nsIRequest |
void cancel ( nsresult status )
|
| nsIAsyncStreamCopier |
void init ( nsIInputStream source , nsIOutputStream sink , nsIEventTarget target , PRBool sourceBuffered , PRBool sinkBuffered , PRUint32 chunkSize )
|
| nsIRequest |
PRBool isPending ( )
|
| nsIRequest |
void resume ( )
|
| nsIRequest |
void suspend ( )
|
Reference documentation is generated from Mozilla's source.
