Repository navigation
4.22.0
The library's code is the same as in 4.21.0. This release adds documentation that came from comparing the client
with Faye's.
Documentation
- Publishing with an acknowledgement,
a new pattern in the recipes: publish to a topic and await the server's answer withcreateWebSocketRequests,
tell a refusal from an answer that never came, retry without publishing twice, and use the outbox instead for
messages that must survive a reload. - Letting the server decide,
a new section in the reconnecting guide: how a server tells clients to come back later, start over on a new
connection, or not come back, the three kinds of reconnect advice Bayeux servers such as Faye give, with the close
codes and messages that carry them. - Headers, proxies and TLS
in Node: awssubclass that sends headers with a fresh token on every connection, connects through a proxy,
trusts a private certificate authority, and ends attempts that hang, which neither the client norwsdoes on
its own when a proxy doesn't answer.