Method: Protocol::HTTP2::GoawayFrame#unpack

Defined in:
lib/protocol/http2/goaway_frame.rb

#unpackObject



43
44
45
46
47
48
49
# File 'lib/protocol/http2/goaway_frame.rb', line 43

def unpack
	data = super
	
	last_stream_id, error_code = data.unpack(FORMAT)
	
	return last_stream_id, error_code, data.slice(8, data.bytesize-8)
end