struct HTTP2::Frame::GoAway
- HTTP2::Frame::GoAway
- HTTP2::Frame
- Struct
- Value
- Object
Defined in:
frame/go_away.crConstant Summary
-
TypeCode =
7_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(last_stream_id : UInt32 = 0_u32, error_code : UInt32 = 0_u32, optional_debug_data : Bytes = Bytes.empty)
- .new(last_stream_id : UInt32, error_code : UInt32, optional_debug_data : String)
Instance Method Summary
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
from_io(io : IO) : Frame
from_io,
new
new
Constructor Detail
def self.new(last_stream_id : UInt32 = 0_u32, error_code : UInt32 = 0_u32, optional_debug_data : Bytes = Bytes.empty)
#
def self.new(last_stream_id : UInt32, error_code : UInt32, optional_debug_data : String)
#