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.
Network
The following list interfaces for reading and writing remote content. Remote content is identified by a URI using the nsIURI interface. Use the nsIIOService service to create one from a string. The nsIIOService service is also used to create channels for reading. Channels are created based on the URI scheme (http or ftp, for instance).
Each channel interface has a number of methods specific to the type of channel. Data can be read using a stream obtained from the channel. The nsIUploadChannel interface can be used to upload to a channel. You can call QueryInterface on a channel to get an nsIUploadChannel if it is supported.
Reference documentation is generated from Mozilla's source.
