(session, handle, id, options, headers)
| 2887 | |
| 2888 | class ServerHttp2Stream extends Http2Stream { |
| 2889 | constructor(session, handle, id, options, headers) { |
| 2890 | super(session, options); |
| 2891 | handle.owner = this; |
| 2892 | this[kInit](id, handle); |
| 2893 | this[kProtocol] = headers[HTTP2_HEADER_SCHEME]; |
| 2894 | this[kAuthority] = getAuthority(headers); |
| 2895 | } |
| 2896 | |
| 2897 | // True if the remote peer accepts push streams |
| 2898 | get pushAllowed() { |
nothing calls this directly
no test coverage detected