nsIInputStreamChannel

IID:560a64ce-6d66-44db-b38e-864469c52d03
Inherits From:nsIChannel

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 can only be changed before the channel is opened.


Methods

void setURI ( nsIURI URI )

void setURI ( nsIURI URI )

Sets the URI for this channel.

Arguments:
URI

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com