Ilan Pegoraro 927d6436d1 Fixes issue #12, closes socket when done
Closing the socket after calling the invokeSlot and not in QHttpServer
after process, because the invocation can be deferred if more data
needs to be read from the socket, so closing the socket after calling
invokeSlot guarantees that the socket is close when the slot finishes.
2016-11-03 12:23:24 +00:00
2016-10-17 22:34:34 -07:00
2015-03-23 19:48:23 -07:00
2016-10-06 22:47:51 -07:00
2016-10-08 12:48:24 -07:00

QHTTPEngine

Build Status MIT License

Simple set of classes for developing HTTP server applications in Qt.

Build Requirements

QHttpEngine requires a modern C++ compiler supported by the Qt framework. Some examples include:

  • Microsoft Visual C++ Express
  • GCC (including MinGW-w64)
  • Clang

CMake 3.2+ and Qt 5.4+ are required to build the library.

Build Instructions

Use the instructions below to build the library:

  1. Open a terminal or command prompt and run the following commands to create a directory for the files that will be built:

     mkdir build
     cd build
    
  2. Run CMake to generate the Makefile that will be used to build the library:

     cmake ..
    

    Note: on Windows, you will need to change the last command to the following in order to generate a Makefile:

     cmake -G "NMake Makefiles" ..
    
  3. Build the library:

    • Unix-based (including MinGW-w64): make
    • Windows (MSVC++): nmake
Description
HTTP server for Qt applications
Readme 777 KiB
Languages
C++ 97.1%
CMake 2.9%