Commit Graph

36 Commits

Author SHA1 Message Date
pavulon 2d65df86c7 Update outdated examples (#1116)
Since v18.0.0 req is no longer passed to the "open" handler. You can access it in the "upgrade" handler instead.
2020-10-26 13:08:24 +01:00
Alex Hultman 9829f7fb37 Add concept of route yielding 2019-01-22 18:30:25 +01:00
Alex Hultman f4065b4e3b Add simple "any" route to catch any method 2019-01-22 13:55:28 +01:00
Alex Hultman 586595e727 Fix up websocket close events 2019-01-22 11:22:22 +01:00
Alex Hultman 0934965fa5 Implement idleTimeout 2019-01-22 10:15:27 +01:00
Alex Hultman db98f81986 Proper move of App 2019-01-22 09:16:05 +01:00
Alex Hultman 6718301ac9 Make onAborted unique_function 2019-01-17 06:30:47 +01:00
Alex Hultman b65e9fd7d8 Add uWS::destroy() helper function 2018-12-30 21:19:08 +01:00
Alex Hultman cd6ab69140 Fix SSL destructor mistake 2018-12-30 18:12:19 +01:00
Alex Hultman ed7222e513 Fix last obvious leak 2018-12-30 18:02:57 +01:00
Alex Hultman 339e2d72dc Fix more memory leaks 2018-12-30 17:43:11 +01:00
Alex Hultman 6618f7194b Fix a few memory leaks 2018-12-30 17:17:22 +01:00
Alex Hultman 6befbd4a37 Allow UWS_NO_ZLIB to work properly 2018-12-29 14:00:26 +01:00
Alex Hultman 1e5bb25d5c Minor main.cpp changes 2018-12-26 20:42:36 +01:00
Alex Hultman c0af883bf9 Pull new uSockets with SSL fixes 2018-12-26 14:47:18 +01:00
Alex Hultman de53d12bfe Fix up getUserData 2018-12-26 14:35:09 +01:00
Alex Hultman 038111fb98 Add SHARED and DEDICATED compressor options 2018-12-22 05:58:26 +01:00
Alex Hultman f8e299c312 Add initial send compression 2018-12-22 03:08:12 +01:00
Alex Hultman 3fa0fbc5fa Add a few more events 2018-12-21 04:31:37 +01:00
Alex Hultman 3e769fb841 Pass a big portion of Autobahn over SSL 2018-11-29 09:59:03 +01:00
Alex Hultman 6c9ac88f50 Add basic permessage-deflate, pass entire Autobahn 2018-11-29 08:37:31 +01:00
Alex Hultman a25e2ab397 A bit of clean-ups and license fixes 2018-11-22 01:29:28 +01:00
Alex Hultman fb70cf78e1 New interface a la designated initializers 2018-11-22 00:20:38 +01:00
Alex Hultman 8bf87c9147 Don't crash on Autobahn testing 2018-11-21 19:09:42 +01:00
Alex Hultman 6231aceaef Take opCode in main.cpp 2018-11-04 11:05:16 +01:00
Alex Hultman f2e2b7107a Wrap up messageHandler, send(message) 2018-10-30 03:01:19 +01:00
Alex Hultman 1613c5020d Initial WebSocket hook up 2018-10-29 23:06:32 +01:00
Alex Hultman 5fd1edc907 Write some formatted content on unhandled 2018-10-27 01:31:34 +02:00
Alex Hultman 5e5d0de0e9 Hook up req->getParameter 2018-10-05 00:10:43 +02:00
Alex Hultman be0eb69597 Fix the router (todo: req->getParameter hook up) 2018-10-04 04:05:43 +02:00
Alex Hultman 7d06bef485 Fix up router, add .post route 2018-10-03 19:36:46 +02:00
Alex Hultman d4ca158495 Add .unhandled route 2018-10-03 18:35:20 +02:00
Alex Hultman 5130b6f8c2 Update Http example server 2018-09-30 03:38:18 +02:00
Alex Hultman b514da14ca Almost working async file streamer 2018-09-29 21:35:28 +02:00
Alex Hultman 5a1de2039c Fix up async file streaming 2018-09-29 19:42:35 +02:00
Alex Hultman 3f11add86e Organize things 2018-09-28 16:18:57 +02:00