新增于: v8.4.0弃用于: v20.19.6
options <Object>
exclusive <boolean> 当 true 且 parent 指定了一个父流时,该流将成为父流的唯一直接依赖,所有其他现有的依赖将成为该流的从属。默认值: false。
parent <number> 指定此流所依赖的流的数字标识符。
weight <number> 指定一个流相对于具有相同 parent 的其他流的相对依赖。该值是介于 1 到 256(包含)之间的数字。
silent <boolean> 当为 true 时,会在本地更改优先级,而不会向连接的对端发送 PRIORITY 帧。
更新此 Http2Stream 实例的优先级。
【Updates the priority for this Http2Stream instance.】