143 Commits

Author SHA1 Message Date
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
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
c680b1297b Port to Nodejs 17 2021-10-22 01:21:22 +02:00
Alex Hultman
9f2c3b8774 Use uWS 20 2021-10-01 03:31:11 +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
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
Alex Hultman
1b86bf5349 Update uWS, wrap nonStrict 2021-02-03 00:32:19 +01:00
Alex Hultman
6008a08b38 Update uWS, connectionClose 2021-01-25 14:10:43 +01:00
Alex Hultman
c750931ac7 Update uWS, fix warnings 2020-12-19 17:04:24 +01:00
Alex Hultman
0fc9a3db2f Stricter arg length checks 2020-11-09 14:53:41 +01:00
Alex Hultman
c0c77b24f8 That actually works 2020-11-09 14:38:43 +01:00
Alex Hultman
a2da9d8dd8 Stricter callback checks for app.get 2020-11-09 14:28:27 +01:00
Alex Hultman
efc5a4ee72 Stricter ws.publish type checks 2020-11-09 13:44:08 +01:00
Alex Hultman
cee33dc003 Stricter app.publish args check 2020-11-09 13:41:02 +01:00
Alex Hultman
5ca75e35d0 Actually do license the source code 2020-10-25 20:47:08 +01:00
Alex Hultman
7080ae0a98 Put getParts parts in Objects, not Maps 2020-10-22 23:47:42 +02:00
Alex Hultman
fafd273753 Remove uWS.free, WorkerThreads graceful shutdown 2020-10-15 18:43:32 +02:00
Alex Hultman
d6caec2240 Update uWS.getParts for dealing with empty parts 2020-10-14 22:01:14 +02:00
Alex Hultman
aa2ce8a537 Add uWS.getParts, update uWS 2020-10-11 21:26:30 +02:00
Alex Hultman
e2c49e5a4f Wrap getQuery, update uWS 2020-09-28 16:01:44 +02:00
Alex Hultman
1cc6d0dd8c Add _cfg 2020-09-18 23:59:15 +02:00
Alex Hultman
103a0562be Wrap missingServerName, update example 2020-08-17 05:41:00 +02:00
Alex Hultman
f77d07014a addServerName, removeServerName, ServerName.js 2020-08-17 03:59:39 +02:00
Alex Hultman
0e63c77bd0
Fix setInteger 2020-08-11 21:30:41 +02:00
Alex Hultman
83e38ba334 Functions for deleting KV 2020-08-10 19:30:12 +02:00
Alex Hultman
999a00d1bc Merge branch 'master' of https://github.com/uNetworking/uWebSockets.js 2020-08-07 15:07:22 +02:00
Alex Hultman
f70071a15a Group values into collections 2020-08-07 15:06:51 +02:00
Alex Hultman
5840dab93f onWritable takes size_t 2020-07-30 15:39:27 +02:00
Alex Hultman
f17b46f7c9 getBufferedAmount is unsigned now 2020-07-30 15:05:22 +02:00
Alex Hultman
e037fa5512 getWriteOffset, onWritable, tryEnd has to use Number 2020-07-30 15:01:49 +02:00
Alex Hultman
0e5f903a46 Add getIntegerKeys, getStringKeys as temp. solution 2020-07-30 13:12:59 +02:00
Alex Hultman
a22c3fd1be Add more KV functions 2020-07-29 11:09:14 +02:00
Alex Hultman
0fbb4e9203 Add temp. KV store 2020-07-29 10:34:42 +02:00
Alex Hultman
c6b72cf854 Don't keep socketPf separately 2020-06-08 19:43:50 +02:00
Alex Hultman
244ad00e67 Fix a few warnings 2020-06-08 19:10:35 +02:00
Alex Hultman
d6f2c1c50b uWS 18.1, WITH_PROXY, wrap new functions 2020-06-08 14:03:09 +02:00
Alex Hultman
de719f9ec1 Can't use designated init 2020-06-05 17:24:52 +02:00
Alex Hultman
d1a2556fba Merge userData with wsObject 2020-06-05 16:49:26 +02:00
Alex Hultman
b4df9ebf5f Initial upgrade to v18 2020-06-05 12:36:36 +02:00
Alex Hultman
bd9007eee0 Support Node.js 14 2020-04-23 21:57:38 +02:00
Alex Hultman
4be2f2bfc2 Cannot CallJS from listen 2020-03-15 13:58:51 +01:00