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/server/jshttp;1

This component implements the following interfaces:

Methods

InterfaceMethod
nsIServerSocketListener void onSocketAccepted ( nsIServerSocket serv , nsISocketTransport transport )
nsIServerSocketListener void onStopListening ( nsIServerSocket serv , nsresult status )
nsIHttpServer void registerDirectory ( char* path , nsILocalFile dir )
nsIHttpServer void registerErrorHandler ( PRUint32 code , nsIHttpRequestHandler handler )
nsIHttpServer void registerFile ( char* path , nsILocalFile file )
nsIHttpServer void registerPathHandler ( char* path , nsIHttpRequestHandler handler )
nsIHttpServer void setIndexHandler ( nsIHttpRequestHandler handler )
nsIHttpServer void start ( PRInt32 port )
nsIHttpServer void stop ( )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com