class
HTTP2::Streams
- HTTP2::Streams
- Reference
- Object
Defined in:
streams.crInstance Method Summary
-
#create(state = Stream::State::IDLE) : Stream
Creates an outgoing stream.
-
#find(id : Int32, consume : Bool = true) : Stream
Finds an existing stream, silently creating it if it doesn't exist yet.
Instance Method Detail
Creates an outgoing stream. For example to handle a client request or a server push.
Finds an existing stream, silently creating it if it doesn't exist yet.
Takes care to increment highest_remote_id counter for an incoming
stream, unless consume is set to false, for example a PRIORITY frame
forward declares a stream priority/dependency but doesn't consume the
stream identifiers, so they are still valid.