class

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)
Source

Instance methods

closed?
Source
delete_stream(id)
Source
flush
Source
hpack_encode(headers : HTTP::Headers)
Source
start_client
Source
start_server
Source
stream(id)
Source
stream
Source
write_frame(frame : Frame)
Source

Nested types