62 Commits

Author SHA1 Message Date
uNetworkingAB
93707277d3 Update index.d.ts 2024-08-06 14:31:12 +02:00
Mo
64fc000780 Update index.d.ts (#1037) 2024-03-17 01:53:10 +01:00
uNetworkingAB
c7927e0334 Update index.d.ts 2024-01-17 20:15:00 +01:00
Dries De Winter
103f6ff03c Add binding for App.filter (#1010) 2024-01-16 20:38:26 +01:00
Nabil Belahouane
9c3a8787ef add typing for TemplatedApp.close() (#969) 2023-09-25 01:33:30 +02:00
Vlad
ecd89ce24a fix #917 getQuery(key) typings (#941) 2023-08-13 07:54:48 +02:00
Endel Dreyer
8813908957 add .listen_unix to TypeScript definition file (#902) 2023-05-28 01:16:30 +02:00
Maddison Hellstrom
63288506a1 fix listen callback signatures (#912) 2023-05-28 01:08:01 +02:00
Vlad
74e4895cbc Add typings for domain method fix #859 (#888)
* fix #859

* update domain method docs
2023-05-03 18:02:25 +02:00
Artem Abzanov
c2c50fc9e4 add Promise as possbile return value on handlers (#890) 2023-04-23 20:52:46 +02:00
Matt Moran
875f16e1fa Add TypeScript definitions for endWithoutBody (#864) 2023-01-19 04:30:34 +01:00
Alex Hultman
816e8d0e79 Update docs 2023-01-08 19:57:22 +01:00
Alex Hultman
9f32a41bf6 Pause resume docs update and other docs update 2022-12-28 15:22:38 +01:00
jaime echegaray zipper
02115158d9 fix maxBackPressure documented default value (#839)
the actual value is 64*1024 as defined on the source code 43a1f307a0/src/App.h (L229)
2022-12-27 19:55:57 +01:00
CountBleck
001af63e72 Add HttpRequest#getCaseSensitiveMethod() to reflect the C++ API (#845) 2022-12-27 19:55:35 +01:00
Shahar Mor
d5bccb5402 re-add custom ssl-ciphers support (#735)
* re-add custom ssl-ciphers support

* add ssl_cipers to TypeScript definitions
2022-05-13 02:13:56 +02:00
aetheryx
c35f534663 Fix typo in docs (#658) 2022-05-04 19:59:14 +02:00
visgotti
03b4fb8169 added ca_file_name to AppOptions (#664) 2022-05-04 19:58:10 +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
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
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
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
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
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
b1b71483c6 Properly license index.d.ts 2021-01-12 00:50:20 +01:00
hst-m
72994159ab update docs (#415) 2020-12-20 18:34:12 +01:00
pavulon
20b2fe7f67 Update TS definitions (#376) 2020-10-24 19:56:18 +02:00
David Murdoch
944eaef3ee Add listen(port, options, callback) overload to TS def (#357) 2020-08-23 23:56:27 +02:00
Alex Hultman
56312e8beb Update docs 2020-06-20 21:55:17 +02:00
Alex Hultman
97809278c8 Update docs; open event 2020-06-08 16:51:11 +02:00
Alex Hultman
1989d69210 Update docs, missing types 2020-06-08 15:13:35 +02:00
Alex Hultman
cc3c551831 Update docs 2020-06-08 14:29:54 +02:00
Alex Hultman
be45fb6e84 Update TypeDoc significantly 2020-05-20 20:17:32 +02:00
Alex Hultman
7064cf71aa Document ping/pong 2020-03-01 01:35:14 +01:00
Alex Hultman
f9c3cf48a5 Update uWS, wrap new compressOptions, update docs 2020-03-01 01:26:30 +01:00
Alex Hultman
a604881448 Wrap and document unsubscribeAll, ping 2020-01-19 20:24:44 +01:00
Alex Hultman
68fde105e6 Wrap WebSocket.cork, update docs 2020-01-10 19:02:51 +01:00
Alex Hultman
903dc89240 Update docs 2019-12-21 20:46:31 +01:00
Michael Gibson
a3df1564d9 export typescript types and interfaces (#199)
Fixing interface TemplatedApp not being able to be imported from: node_modules/uWebSockets.js/index.d.ts

These imports are only used by typescript and would not be in the compiled JavaScript file.

Why upstream typescript wont fix this issue is explained here: https://github.com/Microsoft/TypeScript/issues/24322
2019-12-13 16:28:05 +01:00
Chafik
4598edf4da Fix typos in TypeScript definition file (#234) 2019-12-05 21:33:57 +01:00
Alex Hultman
d053bc377a Update docs regarding CompressOptions 2019-11-18 19:37:30 +01:00
Arnaud Benhamdine
6c4bca61ef Remove res argument in callback (#204) 2019-10-17 03:39:55 +02:00
Alex Hultman
708afd7d27 Document v16.1.0 2019-10-17 02:29:12 +02:00
Alex Hultman
d605d97fa3 Update docs for v16.0.0 2019-10-09 15:24:56 +02:00
Zhangyuan Nie
7baf556a14 Docs: update index.d.ts (#157) 2019-06-08 18:46:22 +02:00