class

Forest::Frame::PushPromise

Inherits Forest::Frame / Reference / Object

Constructors

from_io(io : IO, continuation : Bool, hpack_decoder : Hpack::Decoder | Nil = nil, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE, maximum_header_continuation_size : Int32 = MAX_HEADER_CONTINUATION_SIZE) : PushPromise
Source
from_io(io : IO, length : Int32, continuation : Bool, hpack_decoder : Hpack::Decoder | Nil = nil, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE, maximum_header_continuation_size : Int32 = MAX_HEADER_CONTINUATION_SIZE) : PushPromise
Source
new(streamIdentifier : Int32, httpHeaders : HTTP::Headers | Nil, promisedStreamId : Int32)
Source

Class methods

decode(hpack_decoder : Hpack::Decoder, payload : Bytes)
Source
type
Source
write_flag(io : IO, end_headers : Bool | Nil, padded : Bool | Nil)
Source

Instance methods

encode(hpack_encoder : Hpack::Encoder, headers : HTTP::Headers | Nil = self.httpHeaders)
Source
endHeaders
Source
endHeaders=(endHeaders : Bool | Nil)
Source
httpHeaders
Source
httpHeaders=(httpHeaders : HTTP::Headers)
Source
padded
Source
padded=(padded : Bool | Nil)
Source
paddingData
Source
paddingData=(paddingData : Bytes | Nil)
Source
paddingLength
Source
paddingLength=(paddingLength : UInt8 | Nil)
Source
promisedStreamId
Source
promisedStreamId=(promisedStreamId : Int32)
Source
streamIdentifier
Source
streamIdentifier=(streamIdentifier : Int32)
Source
to_io(io : IO, padding_data : Bytes | Nil = self.paddingData)
Source
to_io(io : IO, hpack_encoder : Hpack::Encoder | Nil = nil, padding_data : Bytes | Nil = self.paddingData, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE)
Source