HTTP2::Connection
Inherits Reference / Object
Constants
DEFAULTS = {
initial_window_size: 65536_u32,
}
PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".to_slice
Constructors
new(socket : IO, initial_window_size : Atomic(UInt32) = Atomic(UInt32).new(DEFAULTS[:initial_window_size]), window_size : Atomic(UInt32) = initial_window_size)
SourceInstance methods
closed?
Sourcedelete_stream(id)
Sourceflush
Sourcehpack_encode(headers : HTTP::Headers)
Sourcestart_client
Sourcestart_server
Sourcestream(id)
Sourcestream
Sourcewrite_frame(frame : Frame)
Source