Protocol::HTTP2SourceProtocolHTTP2PushPromiseFrame

class PushPromiseFrame

The PUSH_PROMISE frame is used to notify the peer endpoint in advance of streams the sender intends to initiate. The PUSH_PROMISE frame includes the unsigned 31-bit identifier of the stream the endpoint plans to create along with a set of headers that provide additional context for the stream.

+---------------+ |Pad Length? (8)| +-+-------------+-----------------------------------------------+ |R| Promised Stream ID (31) | +-+-----------------------------+-------------------------------+ | Header Block Fragment () ... +---------------------------------------------------------------+ | Padding () ... +---------------------------------------------------------------+