Class: Arf::Wire::MakeStreamFrame

Inherits:
BaseFrame
  • Object
show all
Defined in:
lib/arf/wire/frames/make_stream_frame.rb

Instance Method Summary collapse

Methods inherited from BaseFrame

#decode_flags, #decode_uint16, #decode_uint32, define_flag, #encode_flags, #encode_payload, #encode_uint16, #encode_uint32, flags, #flags, frame_by_kind, frame_kind, #frame_kind, #initialize, #inspect_flags, register_frame, #to_frame, #value_size, value_size, wants_stream_id!, #wants_stream_id?, wants_stream_id?

Constructor Details

This class inherits a constructor from Arf::Wire::BaseFrame

Instance Method Details

#from_frame(fr) ⇒ Object



10
11
12
# File 'lib/arf/wire/frames/make_stream_frame.rb', line 10

def from_frame(fr)
  @stream_id = fr.stream_id
end