bel
36ce480cc3
clang_format src and include
2015-06-30 20:49:32 +02:00
bel
6ce8b4e92c
Set autoformat options and autoformat all source files
2015-05-17 01:30:21 +02:00
bel
53a18aecf1
Autoformat all source files using clang-format
2015-05-17 00:48:11 +02:00
hansipie
020b9fbe93
Symbols export for the C++ Interface
2015-04-29 17:18:44 +02:00
bel
d264808e52
Clean usage of const/not const mg_context* and mg_connection* handles in the API.
...
The API had an inconsistant usage of `const mg_connection *` and `mg_connection *`,
that may cause warnings (e.g., #109 ). Now all non-const `mg_connection *` is only
required to read/write the connection.
2015-04-29 00:13:25 +02:00
bel
0a1f99c6bb
Remove misleading comment in CivetServer.h
...
See issue #92
2015-04-23 21:48:22 +02:00
cbishop
b97f12bf42
Added stdexcept include for use of runtime_error exception
2015-04-10 09:53:52 +01:00
Mark Lakata
82a7ed8b53
Added exception if CivetServer constructor fails. Added getListeningPorts() method.
2015-03-12 14:38:27 -07:00
Richard Screene
fb4e0768d0
Add OPTIONS method to C++ server class
2014-11-04 10:59:22 +00:00
bel
fc70af612a
Improve description of CivetServer::getParam(connection, ...)
2014-08-15 23:00:02 +02:00
bel
724753a7da
Fix C++ build errors in Linux
2014-06-24 21:44:21 +02:00
bel
5675cfe6c2
Add comments for the C++ wrapper
2014-06-20 23:32:17 +02:00
bel
db1e1eb028
C++ Wrapper: Store post data per connection instead of per server
...
Fix #2 as proposed on June 16 2014 - see:
See https://groups.google.com/forum/#!topic/civetweb/ri0mNRJ_5-4
2014-06-16 22:36:42 +02:00
bel
9446bf0f4a
Null-terminate string in CivetServer::getParam
...
issue reported by Menno Lodder, see see Mailing-List
https://groups.google.com/forum/#!topic/civetweb/ri0mNRJ_5-4
see also issue #11
2014-06-14 06:53:36 +02:00
bel
c9f266e3a7
Issue #11 : Method to get POST request parameters via C++ interface
2014-03-22 23:02:07 +01:00
Thomas Davis
b2b62edd57
Fixed Lua compile error with recent change to conn2()
2013-10-07 14:22:23 -04:00
Thomas Davis
7e72461870
Updated comments
2013-10-07 14:22:23 -04:00
Thomas Davis
b745f22107
Normallized coding style in a predictable way.
...
Uses astyle program which is freely avaiable on all platforms.
2013-10-07 14:22:22 -04:00
Thomas Davis
af000e03c7
Added new URI to handler mapping for C code.
2013-10-07 14:22:21 -04:00
Thomas Davis
acbe6db15f
Added URLEncode methods
2013-10-07 14:22:20 -04:00
Thomas Davis
466f3982fe
Added urlDecode urlDecode CivetServer methods
2013-10-07 14:22:20 -04:00
HariKamath
f16f053e11
Wrapper funtion for mg_het_header()
2013-10-07 14:22:20 -04:00
HariKamath
59e17e4401
Changes suggested by Thomas, plus, some minor spelling istakes
2013-10-07 14:22:20 -04:00
HariKamath
021011b273
Cpp implementation for mg_get_cookie().
...
The user can pass standard strings for cookie name get back the corresponding value.
The method returns the size of the cookie string read.
2013-10-07 14:22:19 -04:00
Thomas Davis
b2aee90d14
Regorganized directories to make them more intuitive
2013-10-07 14:22:16 -04:00