Commit Graph

10 Commits

Author SHA1 Message Date
Nathan Osman
b39b18be6c Add ability to modify status code. 2016-10-04 19:51:48 -07:00
Nathan Osman
feaab366ef Fix SEGFAULT caused by parameter going out of scope. 2016-10-04 17:02:35 -07:00
Nathan Osman
7edb26c433 Add ability to specify method for slot handlers. 2016-10-04 16:48:57 -07:00
Ilan Pegoraro
f1ab4f40b9 Add support for GET methods.
Add support for HTTP GET method.
Mapping between the http GET and POST method is done by prefixing the
the keyword to the correct slot. For example, given a GET request /example,
the slot should be named get_example, so that proper routing can be
made.

Also, the GET slot receives as argument the query string as a
QVariantMap.
2016-01-07 11:20:35 +00:00
Nathan Osman
a60cfc8ab4 Moved all of the header files to a separate directory. 2015-07-17 12:42:25 -07:00
Nathan Osman
ad8989bf07 Improved error handling in QObjectHandler. 2015-07-08 17:27:05 -07:00
Nathan Osman
04c4b13d6e Fixed logic error in QObjectHandler that would cause it to miss processing a socket. 2015-07-08 16:56:02 -07:00
Nathan Osman
6a77b01f27 Removed bool return value from QHttpHandler::process(). 2015-07-03 16:06:02 -07:00
Nathan Osman
ad9942ec46 Updated header comment. 2015-07-02 00:28:38 -07:00
Nathan Osman
5595ae1156 Completely reorganized the source code layout. 2015-07-01 21:32:26 -07:00