Commit Graph

75 Commits

Author SHA1 Message Date
Alex Hultman
8da1edc516 Wrap app.any 2019-01-22 18:42:50 +01:00
Alex Hultman
fd11df1134 Return false boolean on listen failure 2019-01-21 19:08:18 +01:00
Alex Hultman
c081382f10 Works on macOS 2019-01-21 17:44:58 +01:00
Alex Hultman
9f0aae77b1 Fix recursive nextTick calls, drain nextTickQueue before exit 2019-01-21 09:09:48 +01:00
Alex Hultman
914c6f2bc3 Update µWS 2019-01-18 17:21:00 +01:00
Alex Hultman
1d4b874ae7 Also throw on invalid WebSocket usage 2019-01-18 16:57:54 +01:00
Alex Hultman
90df6bbe3a Update µWS 2019-01-18 16:37:37 +01:00
Alex Hultman
d067388df4 Throw exceptions on ill-use instead of segfaulting 2019-01-18 16:33:56 +01:00
Alex Hultman
be8aaeeba7 Wrap all http methods & all SSL options 2019-01-18 15:56:08 +01:00
Alex Hultman
0fb6ec9034 Add us_listen_socket_close and graceful shutdown example 2019-01-18 09:07:21 +01:00
Alex Hultman
ab829af8ce Point all examples to demo key/cert 2019-01-17 11:42:53 +01:00
Alex Hultman
a1ed925879
Add self-signed key/cert for examples 2019-01-17 10:35:06 +01:00
Alex Hultman
8e07c320e8 Make it tick nicely on Windows 2019-01-17 10:02:06 +01:00
Alex Hultman
26e25ec2ed Fix up VideoStreamer stability, it was user error 2019-01-17 09:39:03 +01:00
Alex Hultman
4ae2facba7 Wrap req.getQuery, req.getMethod, res.close, res.onData & add Upload example 2019-01-17 08:22:43 +01:00
Alex Hultman
3558bf30d9 Actually do pass req to ws open 2019-01-17 07:33:31 +01:00
Alex Hultman
14ea861205 Fix examples 2019-01-17 07:26:25 +01:00
Alex Hultman
a9ec4fd476 Add a few more examples 2019-01-17 07:22:31 +01:00
Alex Hultman
84bcf4c62f Swap more to UniquePersistent 2019-01-17 06:53:30 +01:00
Alex Hultman
04c8b5aba5 Fix 0-length array bug 2019-01-17 06:42:45 +01:00
Alex Hultman
8e0860edcf Wrap onAborted, hook up VideoStreamer 2019-01-17 06:31:55 +01:00
Alex Hultman
24fe602f50 Wrap up app.post 2019-01-16 22:59:53 +01:00
Alex Hultman
d73f4e8616 Further MS-DOS madness 2019-01-16 22:19:12 +01:00
Alex Hultman
3067b40a67 Remove dist folder 2019-01-16 22:01:04 +01:00
Alex Hultman
a1d3225181
Compiling instructions for all platforms 2019-01-16 21:44:36 +01:00
Alex Hultman
ff37c2a272 Small fix for GCC/Clang 2019-01-16 21:36:35 +01:00
Alex Hultman
3feee30666 Port to Windows 2019-01-16 21:31:17 +01:00
Alex Hultman
68a4a6b53f
Link to npm install docs 2019-01-15 15:08:48 +01:00
Alex Hultman
50641ab8a4 Restructure project 2019-01-15 14:33:43 +01:00
Alex Hultman
79eab43abc Wrap res.getWriteOffset, add VideoStreamer example 2019-01-15 11:52:55 +01:00
Alex Hultman
d132ae2685 Wrap HttpResponseWrapper::onWritable 2019-01-15 08:10:57 +01:00
Alex Hultman
6a96e07c3c Fix completely broken process.nextTick 2019-01-14 17:16:00 +01:00
Alex Hultman
d23e83628d Wrap up res.write, res.writeStatus, res.tryEnd 2019-01-14 13:39:43 +01:00
Alex Hultman
810695f32c HttpResponseWrapper refactor 2019-01-14 13:17:08 +01:00
Alex Hultman
80bc15915b Wrap req.getParameter, req.getUrl 2019-01-14 12:44:29 +01:00
Alex Hultman
647a6ef12c Wrap ws.close and ws.getBufferedAmount 2019-01-14 12:16:24 +01:00
Alex Hultman
31e7463c9b Begin WebSocketWrapper nice struct 2019-01-14 11:54:37 +01:00
Alex Hultman
a6b897cdbc Add QtCreator project for addon 2019-01-14 11:45:25 +01:00
Alex Hultman
0636cfb088 Refactor things into separate files 2019-01-14 11:34:20 +01:00
Alex Hultman
0493190110 Add some comments of missing features 2019-01-14 11:05:08 +01:00
Alex Hultman
647b55f5d8 Hook up close, drain, compression, "Neuter" ArrayBuffers on return 2019-01-14 10:09:09 +01:00
Alex Hultman
15684984d9
Update IP notice 2019-01-11 23:31:36 +01:00
Alex Hultman
a7f62dd339
First binary release 2019-01-08 22:25:03 +01:00
Alex Hultman
31278c13f3 Properly support SSL and non-SSL 2019-01-08 22:04:56 +01:00
Alex Hultman
ba90a20e0f Hook up timers with us_loop_integrate 2018-12-26 19:19:26 +01:00
Alex Hultman
ffb664509c 75% 2018-12-26 15:24:15 +01:00
Alex Hultman
fb10ac9b61 Make websockets benchmarkable 2018-12-26 15:23:14 +01:00
Alex Hultman
7fdba0bdbd Wrap up SSL, initial WebSocket support 2018-12-26 13:50:12 +01:00
Alex Hultman
94a7c960c7 Remove notice, update submodules 2018-12-26 11:17:25 +01:00
Alex Hultman
4a83dd89d6
Update README.md 2018-12-24 03:06:22 +01:00