Commit Graph

428 Commits

Author SHA1 Message Date
Alan Smithee
3b1bba8af8 Make idleTimeout a multiple of 4 in README example (#666)
Using the example provided in the README outputs the following warning;

> Warning: idleTimeout should be a multiple of 4!

This PR updates the example according to the warning.
2022-05-04 19:57:42 +02:00
e3dio
e23d6eda45 add ws.send sendStatus (#707) 2022-05-04 19:55:46 +02:00
e3dio
0c6615488d fix docs (#704) 2022-05-04 19:54:19 +02:00
Alex Hultman
63c9759d66 Wrap endWithoutBody 2022-05-03 22:36:11 +02:00
Alex Hultman
0ea1b1aeca Update uWS to 20.14.0 2022-05-02 02:31:43 +02:00
Alex Hultman
0d752b2a9a Update uWS to 20.13.0 2022-04-20 15:29:41 +02:00
Alex Hultman
e2ac2745d9 Node.js 18, latest uWS 2022-04-20 07:26:23 +02:00
Alex Hultman
399f4de143 Revert "Allow passing custom ciphers via options (#723)"
This reverts commit b01ac076f8.
2022-04-20 07:16:48 +02:00
Alex Hultman
e8bb564d1a Update uws.js 2022-04-17 00:30:21 +02:00
Shahar Mor
b01ac076f8 Allow passing custom ciphers via options (#723) 2022-03-25 16:39:55 +01:00
Vlad
823e1a9dca Add ServerSentEvents.js example (#709) (#711) 2022-03-08 17:39:32 +01:00
Alex Hultman
4ac42ec21b Use latin1 in getHeader 2022-01-19 03:08:15 +01:00
Alex Hultman
c3bdbf4cca Update uWS to 20.9.0 2022-01-09 18:57:44 +01:00
Alex Hultman
66328b9da0 Update uWS 2021-12-15 07:11:40 +01:00
Alex Hultman
ef1df685fc Add experimental pause/resume HTTP body throttling 2021-12-15 02:16:37 +01:00
Alex Hultman
be3535b6f1 Update uWS 2021-12-07 21:16:55 +01:00
Alex Hultman
a13b497b31 Wrap sendPingsAutomatically 2021-12-07 21:11:38 +01:00
snowbldr
bce99d8884 change websocket publish to return boolean as the uws method publish returns boolean (#641)
* Update docs to match implementation

* change websocket publish to return boolean as the uws method publish returns boolean

* re-generate typedoc since publish changed to return boolean
2021-12-07 14:46:30 +01:00
Alex Hultman
2f829d1b36 Update docs for v20.4 2021-11-04 07:03:14 +01:00
Alex Hultman
c70d2e6d2d Update uWS to v20.8.0 2021-10-31 04:41:36 +01:00
Alex Hultman
6ac3d68b22 Update README.md 2021-10-31 00:29:24 +02:00
Alex Hultman
fe2f890957 Update to uWS v20.7.0 2021-10-31 00:12:48 +02:00
Alex Hultman
1ca5dc086e Fix and add more decompressors 2021-10-31 00:00:06 +02:00
Alex Hultman
180c766a83 Add basic fragmented send feature 2021-10-30 17:58:32 +02:00
Alex Hultman
88efc09f21 Hand copies of ArrayBuffers where we have to 2021-10-28 21:12:15 +02:00
Alex Hultman
dabb0e9ebd Update README.md 2021-10-25 06:10:50 +02:00
Alex Hultman
67b191c9d3 Update README.md 2021-10-24 23:30:38 +02:00
Alex Hultman
2c2644505d Add upload_host helper target 2021-10-24 23:10:33 +02:00
Alex Hultman
0afd0d8147 Update c-cpp.yml 2021-10-24 22:52:00 +02:00
Alex Hultman
a7869567ff Build against BoringSSL 2021-10-24 22:39:41 +02:00
Alex Hultman
8e3b9d2498 Properly support OpenSSL 3.0 2021-10-22 02:14:38 +02:00
Alex Hultman
ba8a923faa Update build.c 2021-10-22 01:39:00 +02:00
Alex Hultman
c680b1297b Port to Nodejs 17 2021-10-22 01:21:22 +02:00
Alex Hultman
4b30a36b6c Fix Windows build? 2021-10-01 04:25:12 +02:00
Alex Hultman
9f2c3b8774 Use uWS 20 2021-10-01 03:31:11 +02:00
Alex Hultman
c65157e69e Use uWS 19.8.0 2021-09-22 17:51:04 +02:00
Alex Hultman
f0738c3409 Use uWS 19.6.0 2021-09-15 21:45:26 +02:00
Alex Hultman
b4d80484a0 Update README.md 2021-08-30 01:13:45 +02:00
e3dio
81ab2a13fd fix typedoc gen (#601)
Co-authored-by: e3dio <>
2021-08-16 03:09:11 +02:00
e3dio
935ca2cab8 fix typedoc, gen latest docs (#599)
* fix typedoc

* gen docs

* fix version #

Co-authored-by: e3dio <>
2021-08-16 02:34:38 +02:00
Dmytro Kulyk
8f5383157d Added closeConnection to HttpResponse::end() (#596)
https://github.com/uNetworking/uWebSockets.js/blob/master/src/HttpResponseWrapper.h#L218-L220
2021-08-11 12:09:50 +02:00
alexhultman-2fa
d2d70bd35f Drama, activate 2021-08-03 23:34:58 +02:00
Milad Mehdizade
8ba1edc0bb An example for Rate limit (#566)
* add rate limit example

* better comment

* add newline at end of file
2021-06-29 20:38:24 +02:00
Alex Hultman
973db441fa Update README.md 2021-06-28 22:47:29 +02:00
Alex Hultman
0f92121145 Update uWS to v19.3.0 2021-06-26 22:43:59 +02:00
joshxyzhimself
a84c61393b Update index.d.ts (#549)
Add addServerName, removeServerName, missingServerName
2021-06-11 11:03:34 +02:00
alexhultman-2fa
8591a224cf Document us_socket_local_port 2021-06-09 11:15:48 +02:00
Matt Moran
9b3efbdfa3 Expose us_socket_local_port (#547)
Usage:
```ts
const token: us_socket_t;
const port = uWS.us_socket_local_port(token);
```
2021-06-09 11:08:31 +02:00
hst-m
6d88f857d0 fix #540 (#542) 2021-06-08 00:49:39 +02:00
Alex Hultman
9af80e10ce Accept SharedArrayBuffers as input 2021-04-20 22:53:49 +02:00