Home · Modules · Classes · Namespaces · Functions

QxtWeb Module

The QxtWeb module provides tools for creating web services using Qt. More...

Classes

QxtAbstractHttpConnectorBase class for defining HTTP-based protocols for use with QxtHttpSessionManager
QxtAbstractWebServiceBase interface for web services
QxtAbstractWebSessionManagerBase class for QxtWeb session managers
QxtHtmlTemplateBasic HTML template engine
QxtHttpServerConnectorBuilt-in HTTP server for QxtHttpSessionManager
QxtHttpSessionManagerSession manager for HTTP-based protocols
QxtScgiServerConnectorSCGI connector for QxtHttpSessionManager
QxtWebCgiServiceCGI/1.1 gateway for QxtWeb
QxtWebContentAnd I/O device for data sent by the web browser
QxtWebErrorEventDescribes an error condition to be sent to a web browser
QxtWebEventBase class of all QxtWeb event types
QxtWebPageEventDescribes a web page or other content to be sent to a web browser
QxtWebRedirectEventDescribes a redirect event to be sent to a web browser
QxtWebRemoveCookieEventDescribes a cookie to be deleted from a web browser
QxtWebRequestEventDescribes a request from a web browser
QxtWebServiceDirectoryPath-based web service dispatcher
QxtWebSlotServiceSlot based webservice
QxtWebStoreCookieEventDescribes a cookie to be sent to a web browser

Detailed Description

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