HTTP2::Frame::Data
Inherits HTTP2::Frame::PaddingHelper < HTTP2::Frame < Struct < Value < Object
Constants
Constructors
Deferred to finished (rather than checked here directly): the
inherited hook fires as soon as < Frame is parsed, before this
subtype's own body (including its TypeCode constant) exists, so
@type.has_constant? would always see "not yet defined" here. A
nested finished hook runs after the whole subtype body is parsed,
when the check is actually meaningful. Frame::Unknown has no
TypeCode/AllowedFlags (its type code is a runtime value read off
the wire, not a per-type constant), so it skips this block entirely
and provides its own initialize.
Deferred to finished (rather than checked here directly): the
inherited hook fires as soon as < Frame is parsed, before this
subtype's own body (including its TypeCode constant) exists, so
@type.has_constant? would always see "not yet defined" here. A
nested finished hook runs after the whole subtype body is parsed,
when the check is actually meaningful. Frame::Unknown has no
TypeCode/AllowedFlags (its type code is a runtime value read off
the wire, not a per-type constant), so it skips this block entirely
and provides its own initialize.
Deferred to finished (rather than checked here directly): the
inherited hook fires as soon as < Frame is parsed, before this
subtype's own body (including its TypeCode constant) exists, so
@type.has_constant? would always see "not yet defined" here. A
nested finished hook runs after the whole subtype body is parsed,
when the check is actually meaningful. Frame::Unknown has no
TypeCode/AllowedFlags (its type code is a runtime value read off
the wire, not a per-type constant), so it skips this block entirely
and provides its own initialize.
Deferred to finished (rather than checked here directly): the
inherited hook fires as soon as < Frame is parsed, before this
subtype's own body (including its TypeCode constant) exists, so
@type.has_constant? would always see "not yet defined" here. A
nested finished hook runs after the whole subtype body is parsed,
when the check is actually meaningful. Frame::Unknown has no
TypeCode/AllowedFlags (its type code is a runtime value read off
the wire, not a per-type constant), so it skips this block entirely
and provides its own initialize.
Instance methods
Deferred to finished (rather than checked here directly): the
inherited hook fires as soon as < Frame is parsed, before this
subtype's own body (including its TypeCode constant) exists, so
@type.has_constant? would always see "not yet defined" here. A
nested finished hook runs after the whole subtype body is parsed,
when the check is actually meaningful. Frame::Unknown has no
TypeCode/AllowedFlags (its type code is a runtime value read off
the wire, not a per-type constant), so it skips this block entirely
and provides its own initialize.