Commit Graph
56 Commits
Author SHA1 Message Date
Alex Hultman 640d9d97c6 Broadacst unix time in 8ms intervals, example 2021-04-06 18:02:45 +02:00
Alex Hultman 42d480e529 Add timed broadcast example 2021-04-02 16:13:35 +02:00
Alex Hultman 8089063504 Expose payload to ping/pong events 2021-02-26 01:32:06 +01:00
Alex Hultman 3eae7116e7 Add WITH_LIBDEFLATE option, pass Autobahn 2021-02-24 10:49:49 +01:00
Alex Hultman eec8dba0f9 Update threaded example 2021-02-15 20:17:37 +01:00
Alex Hultman 92dbf19c46 Update uS, fix threaded prints 2021-02-09 23:31:07 +01:00
Alex Hultman df7c4bb9f8 Add option sendPingsAutomatically 2021-01-31 12:53:17 +00:00
Alex HultmanandGitHub bd74b6c83b Create README.md 2021-01-13 02:13:34 +01:00
Alex Hultman ad1d6fac08 Fix -Wunused-parameter 2020-12-01 01:10:00 +01:00
AndyandGitHub 2530872a1b Add upgrade handler to fix WebSocketBehavior template deduction on old examples (#1131) 2020-11-23 12:14:41 +01:00
Alex HultmanandGitHub 33968490b4 Fix alert introduced in SNI example 2020-09-06 12:38:01 +02:00
Alex Hultman cc27ff5d96 Update ServerName example a bit 2020-09-05 00:09:39 +02:00
Alex Hultman f69282c478 missingServerName and updated ServerName example 2020-08-17 05:39:54 +02:00
Alex Hultman d14d31ce47 Add basic ServerName example & impl. 2020-08-17 02:49:36 +02:00
Alex Hultman f52d816032 Never compress 0 bytes, finish pub/sub ded. compr. 2020-06-22 07:10:43 +02:00
Alex Hultman 025415d1a0 Clean-ups, bump copyright date 2020-06-08 13:31:06 +02:00
Alex Hultman d5782fdb9c addressAsText, getRemoteProxiedAddress 2020-06-06 19:52:28 +02:00
Alex Hultman 9e3a75b19a Clean-ups 2020-06-04 13:19:25 +02:00
Alex Hultman f8903ed32f Add UpgradeAsync example 2020-06-02 14:08:13 +02:00
Alex Hultman 9cb2fb404f Add UpgradeSync example 2020-06-02 13:16:10 +02:00
Alex Hultman 625efbc499 Don't pass req in open handler 2020-06-02 12:59:36 +02:00
Alex Hultman 6735bad79c Pass UserData when upgrading 2020-06-02 12:55:05 +02:00
Alex Hultman cb48712b3d Make it stick together just barely 2020-06-02 12:40:51 +02:00
Alex Hultman c897cca38c Make example compile 2020-06-02 09:36:39 +02:00
Alex Hultman 4be90c0114 Add upgrade handler 2020-06-01 15:45:03 +02:00
Alex Hultman 8f7d642f3f Add shared compression for pub/sub 2020-05-28 23:24:52 +02:00
Alex Hultman 02ad3979a6 Better examples with SSL, build benchmarks 2019-11-25 21:48:28 +01:00
Alex Hultman 91a7a44eea Add SSL example 2019-11-25 21:24:29 +01:00
rimmartinandAlex Hultman 4a9ab556bd a few upgrades for the HttpServer example (#955) 2019-10-29 19:28:11 +01:00
yarregandAlex Hultman e4d4ef9bbb Fix example build error (#949)
* Fixed example build error

* Update EchoServer.cpp
2019-10-17 03:52:26 +02:00
Alex Hultman f58a9e1e0d Pass autobahn with pub/sub 2019-10-08 03:55:27 +02:00
Alex Hultman 1ddb5c0d1c Add broadcasting example 2019-08-11 19:04:56 +02:00
Alex Hultman 5e787b19b3 Make all examples compile with GCC on Ubuntu 2019-06-09 09:32:55 +02:00
Alex Hultman 6801ab8969 Add threaded websocket server, skip broken examples 2019-03-01 18:10:44 +01:00
Alex Hultman 4fd895c8e7 Add HelloWorldThreaded and (actually) fix race 2019-03-01 18:00:14 +01:00
Alex Hultman d331ec3e45 Refactor using new uSockets API 2019-01-25 14:15:40 +01:00
Alex Hultman 4fde553d03 Remove uWS::destroy() 2019-01-07 02:26:50 +01:00
Alex Hultman 287c7dbe7f Add uWS::destroy calls to examples 2018-12-30 21:27:42 +01:00
Alex Hultman fb95abad71 Update EchoServer example 2018-12-22 06:02:38 +01:00
Alex Hultman 3fa0fbc5fa Add a few more events 2018-12-21 04:31:37 +01:00
Alex Hultman 2a1fc55b58 Add EchoServer example 2018-12-21 03:17:15 +01:00
Alex Hultman ba83c9156a Add hello world example 2018-10-28 02:28:02 +01:00
Alex Hultman d4ca158495 Add .unhandled route 2018-10-03 18:35:20 +02:00
Alex Hultman 0d932e9649 Add mime types to files served 2018-09-30 23:38:12 +02:00
Alex Hultman b89699607a Enable SSL support in HttpServer 2018-09-30 23:13:05 +02:00
Alex Hultman ecfeffed7b Fix up streaming for demo purposes (needs stability fixes) 2018-09-30 22:42:28 +02:00
Alex Hultman 4ae18f9a6a Find the bug, let's fix this up soon 2018-09-30 22:26:09 +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 18367b58fd Begin using optparse (broken for now) 2018-09-26 15:40:01 +02:00