1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-04-27 00:28:51 +03:00

12 Commits

Author SHA1 Message Date
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
121ae6c7f6 Handler for websocket connection (Step 6/7)
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 22:09:09 +02:00
bel
d64d507eaa Handler for websocket connection (Step 3/?)
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 10:54:46 +02:00
bel
436bc39555 Handler for websocket connection (Step 2/?)
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 00:43:11 +02:00
bel
0016b36204 Handler for websocket connection (Step 1/?)
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-18 18:14:20 +02:00
bel
fa73c09d92 Example for C: stop the server when the application exits 2014-09-23 21:24:23 +02:00
bel
c471b9bdc9 C++ embedding example should do the same as the C embedding example 2014-01-10 22:22:26 +01:00
bel
2b706509f7 Show the usage of mg_get_request_info in the example 2014-01-09 20:14:17 +01:00
bel
fc6c81c417 Test mg_set_request_handler() for patterns 2014-01-08 20:09:56 +01: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
e551b74564 Updated comments 2013-10-07 14:22:22 -04:00
Thomas Davis
c67fbc7caf Added new C embedding example 2013-10-07 14:22:22 -04:00