Creates a new H2
object
Connects to a URL (only https is implemented currently)
Sends the HTTP/2 connection prefix
Sends an SETTINGS frame
Sends a SETTINGS frame with the ack flag
Send a PRIORITY frame
Send a WINDOW_UPDATE frame
Sends a PING frame
Sends a HEADER frame
Sends a DATA frame
Reads a Frame, or times out. Returns nil on timeout
Returns a string representation of the frame type
Returns a numeric representation of the frame type
Returns a text representation of a frame
Returns the frame flags field
Returns the length of the frame's payload
Returns true if the END_STREAM
flag is set
Returns the length of the frame's stream_id
For types that support it (PING
, SETTINGS
) send a ack frame
Creates a new priority object (to be used with H2.send_headers)