HTTP2::Stream
Inherits HTTP2::Emittable / HTTP2::Emitter / Reference / Object
Constructors
new(id : UInt32, state : State = State::IDLE)
SourceInstance methods
data(payload : Slice(UInt8), flags)
Sourceheaders(headers : Array(Array(String)), flags = Frame::Flags::EndHeaders)
Sourceheaders
Sourceheaders=(headers : Array(Array(String)))
Sourceid
Sourceinspect
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.
push_promise(stream_id : UInt32, payload : Slice(UInt8))
Sourcepush_promise(stream_id : UInt32, headers : Array(Array(String)))
Sourcereceive(frame : Frame)
Sourcestate
Source