Skip to content

Commit 8ee9975

Browse files
authored
Update README.md
1 parent 08c3551 commit 8ee9975

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ Supported transports are:
131131
* `websocket`
132132
* `http_stream`
133133
* `sse`
134-
* `sockjs` - SockJS can also be used as a fallback, SockJS is currently in DEPRECATED status in Centrifugal ecosystem. Also, sticky sessions must be used on the backend in distributed case with it. See more details below
134+
* `sockjs` - SockJS can also be used as a fallback in Centrifugo < v6, in Centrifugo v6 SockJS was removed and will be removed in `centrifuge-js` v6 too. Also, sticky sessions must be used on the backend in distributed case with it. See more details below
135135
* `webtransport` - this SDK also supports WebTransport in experimental form. See details below
136136

137137
If you want to use sticky sessions on a load balancer level as an optimimization for Centrifugal bidirectional emulation layer keep in mind that we currently use `same-origin` credentials policy for emulation requests in `http_stream` and `sse` transport cases. So cookies will only be passed in same-origin case. Please open an issue in case you need to configure more relaxed credentials. Though in most cases stickyness based on client's IP may be sufficient enough.
138138

139139
### Using SockJS
140140

141-
**SockJS usage is DEPRECATED in the Centrifugal ecosystem**
141+
**SockJS usage is DEPRECATED**. Its support was removed in Centrifugo v6, and it will also be removed from this SDK in v6 release.
142142

143143
If you want to use SockJS you must also import SockJS client before centrifuge.js
144144

0 commit comments

Comments
 (0)