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
Sourcefrom_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
Sourcenew(streamIdentifier : Int32, httpHeaders : HTTP::Headers | Nil, promisedStreamId : Int32)
SourceClass methods
decode(hpack_decoder : Hpack::Decoder, payload : Bytes)
Sourcetype
Sourcewrite_flag(io : IO, end_headers : Bool | Nil, padded : Bool | Nil)
SourceInstance methods
encode(hpack_encoder : Hpack::Encoder, headers : HTTP::Headers | Nil = self.httpHeaders)
SourceendHeaders
SourceendHeaders=(endHeaders : Bool | Nil)
SourcehttpHeaders
SourcehttpHeaders=(httpHeaders : HTTP::Headers)
Sourcepadded
Sourcepadded=(padded : Bool | Nil)
SourcepaddingData
SourcepaddingData=(paddingData : Bytes | Nil)
SourcepaddingLength
SourcepaddingLength=(paddingLength : UInt8 | Nil)
SourcepromisedStreamId
SourcepromisedStreamId=(promisedStreamId : Int32)
SourcestreamIdentifier
SourcestreamIdentifier=(streamIdentifier : Int32)
Sourceto_io(io : IO, padding_data : Bytes | Nil = self.paddingData)
Sourceto_io(io : IO, hpack_encoder : Hpack::Encoder | Nil = nil, padding_data : Bytes | Nil = self.paddingData, maximum_frame_size : Int32 = SETTINGS_MAX_FRAME_SIZE)
Source