'remoteSettings' 事件


当从连接的对等方接收到新的 SETTINGS 帧时,则会触发 'remoteSettings' 事件。

session.on('remoteSettings', (settings) => {
  /* 使用新的设置 */
});

The 'remoteSettings' event is emitted when a new SETTINGS frame is received from the connected peer.

session.on('remoteSettings', (settings) => {
  /* Use the new settings */
});