Adds integration with Centrifuge.
Centrifugo is a self-hosted service which can handle connections over a variety of real-time transports and provides a simple publish API. Centrifugo integrates well with any application – no need to change an existing application architecture to introduce real-time features. Just let Centrifugo deal with persistent connections.
Great performance
Centrifugo is built in Go language with some smart optimizations inside. It has good performance – test...
Add cli command: mcgo-centrifugo:info
Generate jwt token for subcription
Minimum version of Core Lib 2.2.4
The server must use centrifuge version 4
!!! To switch to v4, use the built-in config migration tool:
Centrifugo v4 development was concentrated around two main things:
When using the addition of live conversations or threads, it does not go to the last message, but remains in the same position. On large forums, this causes...
Support XF 2.3.0
Min require XF 2.3.0 Beta 3
Update js code
Min require 2.3.0
Using new pattern XF
Refactoring
Fixed a bug in 2.3 where messages were not added to a thread when there were no pages (pagination).
Now the connection token is generated on all pages, if you want to override you can set your parameters in the constructor for the token, host and path.
Added a check for subscribing to an existing channel.
Add new option Channel Instance ID
Reworking to 1 single instance
Added auxiliary utility for cleaning old messages from DOM
Added unsubscribe from channel, mechanism for resubscribing to channel
Added channel system
Added ability to process custom events
Added ability to extend events that are sent via websocket