@cap-js-community/websocket
Advanced tools
Changelog
Version 1.6.0 - 2025-02-03
cds.requires.auth.restrict_all_services: false
dummy
auth strategywsDisconnect
operation without reason parameterwsDisconnect
operation to stringbaseUrl
for websocket requests (necessary for request context specific model in toggle/extensibility scenario)request.id
pcp
)reset
all contexts via wsContext
flag reset: true
wsContext
with array value for context
srv.tx(req).emit
for tenant and user propagation in WS broadcastingwsContext
for format pcp
and cloudevents
Changelog
Version 1.5.2 - 2025-01-10
cds.requires.redis
using websocket
including adapter informationChangelog
Version 1.5.1 - 2025-01-09
Changelog
Version 1.5.0 - 2025-01-08
cds.requires.redis-websocket
Changelog
Version 1.4.0 - 2024-11-04
path
option anymore, in alignment with kind ws
io("/ws/chat")
instead of io("/chat", { path: "/ws" })
x-ws
and x-websocket
)Changelog
Version 1.3.0 - 2024-10-07
cloudevent
resp. cloudevents
@websocket.path
or @ws.path
for non-websocket services@websocket.format
or @ws.format
for non-websocket services@websocket.ignore
or @ws.ignore
ws
wsCurrentUserInclude
, currentUserInclude
, wsCurrentUserExclude
, currentUserExclude
Changelog
Version 1.2.0 - 2024-09-04