![]() |
Home · Modules · Classes · Namespaces · Functions |
The QxtWeb module provides tools for creating web services using Qt. More...
QxtAbstractHttpConnector | Base class for defining HTTP-based protocols for use with QxtHttpSessionManager |
---|---|
QxtAbstractWebService | Base interface for web services |
QxtAbstractWebSessionManager | Base class for QxtWeb session managers |
QxtHtmlTemplate | Basic HTML template engine |
QxtHttpServerConnector | Built-in HTTP server for QxtHttpSessionManager |
QxtHttpSessionManager | Session manager for HTTP-based protocols |
QxtScgiServerConnector | SCGI connector for QxtHttpSessionManager |
QxtWebCgiService | CGI/1.1 gateway for QxtWeb |
QxtWebContent | And I/O device for data sent by the web browser |
QxtWebErrorEvent | Describes an error condition to be sent to a web browser |
QxtWebEvent | Base class of all QxtWeb event types |
QxtWebPageEvent | Describes a web page or other content to be sent to a web browser |
QxtWebRedirectEvent | Describes a redirect event to be sent to a web browser |
QxtWebRemoveCookieEvent | Describes a cookie to be deleted from a web browser |
QxtWebRequestEvent | Describes a request from a web browser |
QxtWebServiceDirectory | Path-based web service dispatcher |
QxtWebSlotService | Slot based webservice |
QxtWebStoreCookieEvent | Describes a cookie to be sent to a web browser |
QxtWeb provides tools for creating event-driven web services using Qt.
The general usage pattern is as follows:
When a new visitor connects who does not belong to a session, a new service instance is created. When a request is received, a QxtAbstractWebService::pageRequestedEvent() is dispatched to the service. When the service is ready to respond to the request, it posts a QxtWebPageEvent to the session manager. This is done asynchronously; there is no requirement that the pageRequestedEvent handler must respond to the request before the function ends, but such a response must eventually be posted or the web browser will eventually time out.
Copyright © 2007-2011 Qxt Foundation |
Qxt 0.6.2 |