Copilot
3d3dd051ca
Revert "Add HttpResponse.writeHeaders" ( #1234 )
...
* Initial plan
* Revert "Add HttpResponse.writeHeaders"
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
2026-03-11 21:18:08 +01:00
Alex Hultman
8982605b01
Update docs
2026-03-11 20:45:58 +01:00
Copilot
af7015b40e
Fix maxLifetime: 240 causing immediate WebSocket disconnection ( #1231 )
...
* Initial plan
* Fix maxLifetime: 240 causing immediate WebSocket disconnection
Cap maxLifetime at 239 in AppWrapper.h to prevent uSockets modulo
wraparound bug (240 % 240 == current timestamp => instant timeout).
Also clamp to non-negative values. Update TypeScript docs to document
valid range as 0 | 1-239.
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
2026-03-11 20:30:48 +01:00
Igor Lins e Silva
087ebf8a98
types: add AppDescriptor type and methods for worker threads ( #1131 )
...
Added:
- AppDescriptor interface as a native type (similar to us_listen_socket)
- Methods on TemplatedApp:
- getDescriptor()
- addChildAppDescriptor()
- removeChildAppDescriptor()
2026-03-11 19:42:28 +01:00
BV-WebDev
c51b086249
Fixe us_socket_local_port() missing argument type ( #1222 )
2026-03-11 19:37:03 +01:00
Shachar-Brightdata
bb831f0faf
Add getRemotePort bindings ( #1162 )
2026-03-11 19:32:27 +01:00
Copilot
b03dd9d6d2
Add HttpResponse.writeHeaders ( #1227 )
...
* Initial plan
* Add HttpResponse.writeHeaders method
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
2026-03-11 18:41:05 +01:00
BV-WebDev
7d83524a90
Update onData() documentation ( #1223 )
2026-03-11 15:33:21 +01:00
Copilot
b0a1028301
HttpResponse: add onFullData with zero-copy fast path and lazy allocation ( #1225 )
...
* Initial plan
* Add onFullData to HttpResponseWrapper for accumulating POST body data
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
* onFullData: fast paths, zero-copy, lazy allocation
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
2026-03-11 15:03:58 +01:00
Alex Hultman
a11eb9df1e
Update docs
2026-03-08 10:42:03 +01:00
Alex Hultman
a1bff123b3
Fix writeStatus docs
2026-03-08 10:26:13 +01:00
mike-git374
813e9e94e0
docs: add sendFragment ( #1218 )
2026-03-08 10:13:16 +01:00
Copilot
891cb0b0a0
Update licensing comment year to 2026 across all source files ( #1216 )
...
* Initial plan
* Update licensing comment year to 2026 in all source files
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com >
2026-03-07 14:34:18 +01:00
Peyman
034b67a2af
add missing listen type ( #1154 )
2026-03-07 12:07:46 +01:00
Alex Hultman
4af87d37ed
Update generated docs
2024-08-06 14:48:02 +02:00
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
Alex Hultman
e99a7cc216
Update docs
2024-01-17 20:30:17 +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
ba3ba73ad2
update docs
2022-12-28 15:26:38 +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
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
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