ストリーミングAPIでチャンネルに接続したときにconnectedメッセージを返すように
This commit is contained in:
parent
aba84612a7
commit
fb1e05c2e9
|
@ -181,6 +181,9 @@ export default class Connection {
|
||||||
const channel = new channelClass(id, this);
|
const channel = new channelClass(id, this);
|
||||||
this.channels.push(channel);
|
this.channels.push(channel);
|
||||||
channel.init(params);
|
channel.init(params);
|
||||||
|
this.sendMessageToWs('connected', {
|
||||||
|
id: id
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue