We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23c9a23 commit 2d99afdCopy full SHA for 2d99afd
src/echo.ts
@@ -38,7 +38,9 @@ export default class Echo {
38
* Create a new connection.
39
*/
40
connect(): void {
41
- if (this.options.broadcaster == 'pusher') {
+ if (this.options.broadcaster == 'reverb') {
42
+ this.connector = new PusherConnector({ ...this.options, cluster: '' });
43
+ } else if (this.options.broadcaster == 'pusher') {
44
this.connector = new PusherConnector(this.options);
45
} else if (this.options.broadcaster == 'socket.io') {
46
this.connector = new SocketIoConnector(this.options);
0 commit comments