Commit Graph

411 Commits

Author SHA1 Message Date
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
Alex Hultman
324b5145d9 Nodejs 16 2021-04-20 19:13:31 +02:00
alexhultman-2fa
079b6c16e9
Update README.md 2021-04-13 18:52:33 +02:00
alexhultman-2fa
4c89c61050
Update README.md 2021-04-13 18:27:43 +02:00
alexhultman-2fa
d414817fdf
Add files via upload 2021-04-13 18:12:41 +02:00
Alex Hultman
8624cea43c Update uWS to v19.2.0 2021-04-13 14:25:29 +02:00
Carlos Galarza
bf289ee54e
docs: fix typo (#497) 2021-04-10 23:51:02 +02:00
Alex Hultman
acbddcd888 Update docs 2021-04-10 23:44:05 +02:00
Alex Hultman
f246c246d0 Revert "Updated TypeScript to allow defined user data (#312)"
This reverts commit 61fa4bd06c.
2021-04-10 23:35:56 +02:00
Alex Hultman
0a3cada73c Update uWS 2021-04-10 23:16:59 +02:00
Alex Hultman
703311649c Wrap getTopics as special case for JS 2021-04-10 23:08:50 +02:00
Alex Hultman
53db43250e Wrap subscribe returned bool 2021-04-10 22:47:37 +02:00
Alex Hultman
08a54d4ba6 Wrap isSubscribed, numSubscribers 2021-04-10 22:25:08 +02:00
Alex Hultman
797286515a Compile with v19 2021-04-10 21:52:39 +02:00
alexhultman-2fa
5d6a9c5194
Wrap closeOnBackpressureLimit 2021-04-06 11:21:30 +02:00
Ben Williams
61fa4bd06c
Updated TypeScript to allow defined user data (#312)
* made small change to typescript def to allow strictly defined user data on WebSocket

* updated typescript to match c++ types

* Remove outdated comment

Co-authored-by: Alex Hultman <alexhultman@gmail.com>
2021-02-15 23:58:53 +01:00
Alex Hultman
24edd23ef6
Update README.md 2021-02-07 18:18:32 +01:00
Alex Hultman
d1a2871ada
Update README.md 2021-02-03 06:21:39 +01:00