Skip to main content
ServerHttp2Stream.pushAllowed - http2 - Node documentation
property ServerHttp2Stream.pushAllowed

Usage in Deno

import { type ServerHttp2Stream } from "node:http2";

Read-only property mapped to the SETTINGS_ENABLE_PUSH flag of the remote client's most recent SETTINGS frame. Will be true if the remote peer accepts push streams, false otherwise. Settings are the same for every Http2Stream in the same Http2Session.

Type

boolean