class

HTTP2::Stream

Inherits HTTP2::Emittable / HTTP2::Emitter / Reference / Object

Constructors

new(id : UInt32, state : State = State::IDLE)
Source

Instance methods

data(payload : Slice(UInt8), flags)
Source
headers(headers : Array(Array(String)), flags = Frame::Flags::EndHeaders)
Source
headers
Source
headers=(headers : Array(Array(String)))
Source
inspect

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.

Source
push_promise(stream_id : UInt32, payload : Slice(UInt8))
Source
push_promise(stream_id : UInt32, headers : Array(Array(String)))
Source
receive(frame : Frame)
Source
state
Source

Nested types