mirror of https://github.com/rails/rails
Merge pull request #47165 from zzak/41415-changelog
Add changelog for #41415
This commit is contained in:
commit
6b30c3f410
|
@ -1,3 +1,20 @@
|
|||
* The Action Cable client now supports subprotocols to allow passing arbitrary data
|
||||
to the server.
|
||||
|
||||
```js
|
||||
const consumer = ActionCable.createConsumer()
|
||||
|
||||
consumer.addSubProtocol('custom-protocol')
|
||||
|
||||
consumer.connect()
|
||||
```
|
||||
|
||||
See also:
|
||||
|
||||
* https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#subprotocols
|
||||
|
||||
*Guillaume Hain*
|
||||
|
||||
* Redis pub/sub adapter now automatically reconnects when Redis connection is lost.
|
||||
|
||||
*Vladimir Dementyev*
|
||||
|
|
Loading…
Reference in New Issue