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 HEADER frame
Sends a HEADER frame with priority information
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 the length of the frame's stream_id
Creates a new priority object (to be used with H2.getp)