'remoteSettings' 事件
settings
<HTTP/2 Settings Object> 接收到了SETTINGS
帧的副本。
当从连接的对等方接收到新的 SETTINGS
帧时,则会触发 'remoteSettings'
事件。
session.on('remoteSettings', (settings) => {
/* 使用新的设置 */
});
settings
<HTTP/2 Settings Object> A copy of theSETTINGS
frame received.
The 'remoteSettings'
event is emitted when a new SETTINGS
frame is received
from the connected peer.
session.on('remoteSettings', (settings) => {
/* Use the new settings */
});