- Fix broadcast request bug: JSON payloads were additionally encoded to base64 due to the lack of
json.RawMessage
usage. See #16.
- Add
Client.Subscribe
method to dynamically subscribe user to a channel (using server-side subscriptions).
gorelease -base v3.0.0 -version v3.1.0
github.com/centrifugal/gocent/v3
--------------------------------
Compatible changes:
- (*Client).Subscribe: added
- (*Pipe).AddSubscribe: added
v3.1.0 is a valid semantic version for this release.
HTTP API client for Centrifugo >= v3.0.0
- API address now should be passed explicitly, like
http://localhost:8000/api
. Previouslygocent
could automatically add/api
for address likehttp://localhost:8000
- this behaviour now removed. - API changed to reflect Centrifugo v3 improvements - see migration guide and API description
- Add
Config.GetAddr
function to dynamically provide API endpoint at the moment of API request