Commit Graph

388 Commits

Author SHA1 Message Date
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
Alex Hultman
1b86bf5349 Update uWS, wrap nonStrict 2021-02-03 00:32:19 +01:00
Alex Hultman
cb3bea9c3b
Fix build/update conflict 2021-01-25 14:26:15 +01:00
Alex Hultman
6008a08b38 Update uWS, connectionClose 2021-01-25 14:10:43 +01:00
Alex Hultman
5a245b528f
Update source_commit on builds 2021-01-15 04:37:54 +01:00
Alex Hultman
f9fba390b0
Update README.md 2021-01-13 02:37:03 +01:00
Alex Hultman
36c0f3440d
Update README.md 2021-01-13 02:35:00 +01:00
Alex Hultman
4c39a1ecfa
Update README.md 2021-01-12 05:45:55 +01:00
Alex Hultman
41e0a78971 Update uWS to v18.19.0 2021-01-12 02:01:55 +01:00
Alex Hultman
87c81c3e6c
Update README.md 2021-01-12 01:46:33 +01:00
Alex Hultman
b1b71483c6
Properly license index.d.ts 2021-01-12 00:50:20 +01:00
Alex Hultman
b3fea76062
Update c-cpp.yml 2021-01-12 00:37:54 +01:00
Alex Hultman
e3b07e3185
Always update TS docs on push 2021-01-12 00:27:39 +01:00
Alex Hultman
f9dc3b51ed Update to uWS v18.18 2021-01-08 21:36:01 +01:00
Alex Hultman
902a7afb91
Update README.md 2021-01-01 19:52:40 +01:00
Maxim Makarov
13796b72c7
fix yarn add (#419) 2020-12-21 18:28:53 +01:00
hst-m
72994159ab
update docs (#415) 2020-12-20 18:34:12 +01:00
Alex Hultman
c750931ac7 Update uWS, fix warnings 2020-12-19 17:04:24 +01:00
Alex Hultman
7b8534ee40
NPM is complete and utter garbage 2020-12-17 22:04:08 +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