Skip to content

albert-mirzoyan/qfcgi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QFCgi

FastCGI implementation for the Qt project. The library utilizes the Qt event pattern, it runs completely asynchronous. It hides (most) of the FastCGI specification behind a simple interface.

Usage

A common pattern can look like this:

#include <qfcgi.h>                                      // (1)

QFCgi *fcgi = new QFCgi;                                // (2)
fcgi->configureListen(QHostAddress::Any, 9000);         // (3)
fcgi->start();                                          // (4)
connect(fcgi, SIGNAL(newRequest(QFCgiRequest*)), ...);  // (5)
  1. Include the qfcgi.h header.
  2. Create an instance of the QFCgi class.
  3. Configure the listener. There are several listener available.
  4. Start the FastCGI system.
  5. Wait for incoming requests.

Have a look into the example directory where you can get through some real examples.

Prerequisites

Developed and tested against Qt V4.8.

Installation

CMake is used as the build system:

mkdir build
cd build
cmake ..
make
make install

Licence

See LICENSE file.

About

FastCGI implementation for Qt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.2%
  • CMake 4.9%
  • Objective-C 3.9%
  • C 1.0%