Class Protocols.HTTP2.Frame
- Description
HTTP/2 frame.
- Variable
frame_type
Variable flags
FrameTypeProtocols.HTTP2.Frame.frame_type
FlagProtocols.HTTP2.Frame.flags
- Variable
payload
int|Stdio.Buffer|array(array(string(8bit))) Protocols.HTTP2.Frame.payload- Description
Data length for received packets, and payload for packets to send.
NB: To avoid frame reordering issues with HPack, this is the set of headers for
FRAME_headerand FRAME_push_promise.
- Variable
promised_stream_id
int|voidProtocols.HTTP2.Frame.promised_stream_id- Description
Only used with FRAME_push_promise, and overrides stream_id.
- Method
create
Protocols.HTTP2.Frame Protocols.HTTP2.Frame(FrameTypeframe_type,Flagflags,int|Stdio.Buffer|array(array(string(8bit)))payload,int|voidstream_id,int|voidpromised_stream_id)