struct HTTP2::Frame::GoAway

Defined in:

frame/go_away.cr

Constant Summary

TypeCode = 7_u8

Constructors

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

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

def self.new(flags : UInt8, stream_id : UInt32, payload : Bytes = Bytes.empty) #

[View source]
def self.new(flags : Flags, stream_id : UInt32, payload : Bytes = Bytes.empty) #

[View source]
def self.new(flags : Flags, stream_id : UInt32, payload : String) #

[View source]
def self.new(flags : UInt8, stream_id : UInt32, payload : String) #

[View source]
def self.new(last_stream_id : UInt32 = 0_u32, error_code : UInt32 = 0_u32, optional_debug_data : Bytes = Bytes.empty) #

[View source]
def self.new(last_stream_id : UInt32, error_code : UInt32, optional_debug_data : String) #

[View source]

Instance Method Detail

def data #

[View source]
def error_code #

[View source]
def flags #

[View source]
def last_stream_id #

[View source]
def r? #

[View source]
def type_code #

[View source]