class Duo::Stream
- Duo::Stream
- Reference
- Object
Defined in:
duo/stream.crConstructors
Instance Method Summary
- #==(other : Stream)
-
#==(other)
Returns
false
(other can only be aValue
here). - #active? : Bool
- #conn : Connection
- #data : Data
- #data? : Bool
- #headers : HTTP::Headers
- #id : Int32
- #local_window_size : Int32
- #max_frame_size : Int32
- #priority : Priority
- #priority=(priority : Priority)
- #process_window_update(size) : Nil
- #remote_window_size : Int32
- #resume_writeable
- #send_data(data : String, flags : Frame::Flags = Frame::Flags::None) : Nil
- #send_data(data : Bytes, flags : Frame::Flags = Frame::Flags::None) : Nil
- #send_headers(type : FrameType, headers, flags, payload) : Nil
- #send_headers(headers : HTTP::Headers, flags : Frame::Flags = Frame::Flags::None) : Nil
- #send_push_promise(headers : HTTP::Headers, flags : Frame::Flags = Frame::Flags::None) : Stream | Nil
- #send_rst_stream(error_code : Error::Code) : Nil
- #send_window_update(increment)
- #state : State
- #state=(state : State)
- #trailing_headers : HTTP::Headers
- #trailing_headers? : HTTP::Headers | Nil
- #wait_writeable
- #zero?
Macro Summary
Constructor Detail
def self.new(conn : Duo::Connection, id : Int32, priority : Duo::Priority = DEFAULT_PRIORITY.dup, state : Duo::State = State::Idle)
#
Instance Method Detail
def ==(other)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).
def send_push_promise(headers : HTTP::Headers, flags : Frame::Flags = Frame::Flags::None) : Stream | Nil
#