Kamil Myśliwiec
10fdf16c47
build: use strict null checks part 1
2024-11-26 12:46:59 +01:00
Kamil Myśliwiec
8829b8d1d7
style: address packages lint errors
2024-11-26 10:38:31 +01:00
codytseng
33e32d9d5d
feat(ws): allow setting message parser in constructor
2024-11-13 09:58:32 +08:00
codytseng
2ab99739cd
refactor(ws): rename to message parser and move json parse logic inside
2024-11-13 09:57:29 +08:00
codytseng
de13eec632
feat: introduce message preprocessor for ws adapter
2024-11-10 16:14:07 +08:00
Kamil Mysliwiec
e5c439dd94
Merge pull request #13378 from CodyTseng/optimize-ws-adapter-handler-find
...
perf(ws): optimize message handler lookup
2024-08-12 10:38:20 +02:00
bettercalljason
6893058913
fix(ws): close existing connections
...
Existing connections must be closed manually. Otherwise, application shutdown hangs when shutdown hooks are enabled and there are existing connections.
2024-05-03 16:01:46 +00:00
codytseng
8c7718e383
perf(ws): optimize message handler lookup
2024-03-31 17:17:06 +08:00
Damir Bulić
e96e10f17f
fix(platform-ws): added http header info on socket close
...
fixes #12381
2023-09-14 11:23:16 +02:00
Damir Bulić
77a235751c
fix(platform-ws): URL parsing error handled
...
Invalid URL TypeError handled with a try-catch block
fixes #12381
2023-09-13 11:01:18 +02:00
Krzysztof Kaczmarzyk
f3f25569ab
fix(ws): fix incorrect host pattern on messages
...
function call was missing the second argument
2023-08-31 02:24:23 +02:00
Kamil Mysliwiec
e46147ebcb
Merge branch 'master' into fix-ws-multi-servers-on-different-paths
2023-04-05 10:56:47 +02:00
codytseng
081650beed
fix(ws): mount multi ws servers on different paths
2023-03-04 13:35:15 +08:00
codytseng
6f8f111397
fix(ws): filter non nil result
2023-03-03 14:48:14 +08:00
Tony133
15e4a5f9f1
chore(platform): mark facing apis public adapter express, socket.io, ws
2023-02-03 12:18:36 +01:00
Micael Levi (lab)
fd720e899d
refactor: remove deprecated apis from 3rd-party deps
...
Replacie old and deprecated APIs from `rxjs`, `body-parser`
and NodeJS core (read this guide https://nodejs.org/en/docs/guides/buffer-constructor-deprecation ).
Do notice that the later only touches test files, thus doesn't affect
production code.
2021-12-24 20:30:33 -04:00
Kamil Myśliwiec
cb4a9d641b
fix(websockets): allow multiple paths when http internal server is used
2021-02-04 15:07:00 +01:00
Kamil Myśliwiec
d381e149ca
fix(websockets): allow to share a single server with multiple paths (ws)
2021-02-04 14:48:59 +01:00
Kamil Myśliwiec
f6715dae15
fix(platform-ws): fail when namespace present in gateway config
2021-02-03 14:07:50 +01:00
Kamil Myśliwiec
575e3133a3
style(): run linter against integration tests and few others
2019-11-29 09:31:15 +01:00
Kamil Myśliwiec
fc40f218a4
fix(platform-ws): trigger client disconnected hook #2226
2019-05-19 13:59:11 +02:00
Kamil Myśliwiec
e4179eb380
enhancement() add loader function to load package utility
2019-01-30 23:07:34 +01:00
Kamil Myśliwiec
53687ba46a
feature(websockets) extract web sockets drivers
2018-12-12 23:35:27 +01:00