Lammert Bies
d317ce3e82
Renamed mg_ to httplib_
2016-12-13 17:32:31 +01:00
bel
4de9090577
Apply revised clang-format ( #207 ) to all actively maintained source files
2015-10-05 20:58:14 +02:00
bel
9f3f8baac0
Update websocket example - use the current interface
2015-08-19 21:15:22 +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
8c90b3cae5
Handler for websocket connection (Step 7/7)
...
Add an interface to register handler for websocket connections.
See enhancement #30 and question #101
2015-04-19 23:20:08 +02:00
Danny Al-Gaaf
1d5124ed5e
WebSockCallbacks.c: replace obsolete asctime()
...
The asctime() function is marked as obsolete by POSIX.1-2008-
Replace with recommended strftime();
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-23 16:40:10 +01:00
Danny Al-Gaaf
ec9d5413a8
replace Windows CRLF with Unix newline
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-23 16:38:15 +01:00
bel
154b80bb69
Make client address available in mg_request_info also for IPv6 (see also issue #33 )
2014-09-14 11:04:42 +02:00
bel
26ecfa7261
Update websocket example - stop websocket threads per server context instead of using a static variable
2014-08-11 00:30:14 +02:00
bel
624aed908d
Update websocket example - store websocket clients per server context instead of using static variables
2014-08-11 00:22:07 +02:00
bel
56389ad023
Update websocket example - use new API functions
2014-08-10 23:49:49 +02:00
Sangwhan Moon
ee3ef0af4e
Make the Websockets example compile on Mac OS X, along with some other little patches.
2014-02-20 03:25:20 +09:00
bel
6766951f38
Websocket example should show creation and deletion of websocket connections
2014-01-12 14:13:51 +01:00
bel
aa2cded31f
New + better websocket example
2013-12-10 20:41:32 +01:00
bel
c09392f7bd
Replace trivial websocket example by a more illustrated one
2013-10-31 21:53:29 +01:00