struct HTTP2::Frame::Settings
- HTTP2::Frame::Settings
- HTTP2::Frame
- Struct
- Value
- Object
Defined in:
frame/settings.crConstant Summary
-
TypeCode =
4_u8
Constructors
- .new(flags : UInt8, stream_id : UInt32, payload : Bytes = Bytes.empty)
- .new(flags : Flags, stream_id : UInt32, payload : Bytes = Bytes.empty)
- .new(flags : Flags, stream_id : UInt32, payload : String)
- .new(flags : UInt8, stream_id : UInt32, payload : String)
- .new(stream_id : UInt32, parameters : ParameterHash, flags : Flags = Flags::None)
Instance Method Summary
- #ack
- #ack?
-
#error?
TODO These checks are probably incomplete.
- #flags
- #parameters : HTTP2::Frame::Settings::ParameterHash
-
#setup
This can be overridden in subclasses to do custom setup tasks without requiring overriding of the default initialization methods.
- #type_code
Instance methods inherited from struct HTTP2::Frame
data
data,
error?
error?,
initialize
initialize,
payload : Bytes
payload,
stream
stream,
stream_id : UInt32
stream_id,
to_s(io)
to_s
Constructor methods inherited from struct HTTP2::Frame
new
new
Class methods inherited from struct HTTP2::Frame
from_io(io : IO)
from_io,
from_type_code(type_code)
from_type_code,
parse_from_io(io : IO)
parse_from_io,
type(type_code)
type
Constructor Detail
Instance Method Detail
def setup
#
Description copied from struct HTTP2::Frame
This can be overridden in subclasses to do custom setup tasks without requiring overriding of the default initialization methods.