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.

nsIInputStreamChannel

IID:274c4d7a-2447-4ceb-a6de-80db1b83f5d2
Inherits From:nsISupports

This interface provides methods to initialize an input stream channel. The input stream channel serves as a data pump for an input stream.

This interface is implemented by the following components:


Properties

nsIInputStream contentStream

Get/set the content stream

This stream contains the data that will be pushed to the channel's stream listener. If the stream is non-blocking and supports the nsIAsyncInputStream interface, then the stream will be read directly. Otherwise, the stream will be read on a background thread.

This attribute must be set before the channel is opened, and it may only be set once.


Methods

void setURI ( nsIURI URI )

void setURI ( nsIURI URI )

Sets the URI for this channel. This must be called before the channel is opened, and it may only be called once.

Arguments:
URI

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com