MaHttp Class Reference
Top level Http application class.
More...
List of all members.
Detailed Description
Top level Http application class.
There is one instance of the Http class per application. It holds a list of HTTP servers running inside the application.
- Stability classification:
- Evolving.
Constructor & Destructor Documentation
- Synopsis:
- Constructor to create the MaHttp object
- Overview:
- A MaHttp object is required to use most of the Appweb services. It contains a list of the servers and provides control over the applictions use of the HTTP service.
- Stability classification:
- Evolving.
- Library:
- libappweb
- See also:
- MaHttp, MaServer, Mpr
Member Function Documentation
- Synopsis:
- Activate HTTP servers.
- Synopsis:
- Start all the logical servers corresponding to the supplied MaHttp object. Once stared, the default server an any virtual servers will be activated and begin responding to HTTP requests.
- Returns:
- Zero if successful, otherwise a MPR error code is returned.
- Stability classification:
- Evolving.
- Library:
- libappweb
- See also:
- stop
- Synopsis:
- Deactivate HTTP servers
- Overview:
- Stop all the logical servers corresponding to the supplied MaHttp object. The servers will cease serving new requests immediately. Existing requests will continue to be processed by the handlers.
- Stability classification:
- Evolving.
- Library:
- libappweb
- See also:
- start
The documentation for this class was generated from the following files: