Class: DS9::Frames::Ping
- Inherits:
-
Frame
- Object
- Data
- Frame
- DS9::Frames::Ping
show all
- Defined in:
- lib/ds9.rb,
ext/ds9/ds9_frames.c
Instance Method Summary
collapse
Methods inherited from Frame
#continuation?, #data?, #end_stream?, #flags, #goaway?, #header, #headers?, #length, #priority?, #push_promise?, #rst_stream?, #settings?, #stream_id, #type, #window_update?
Instance Method Details
#ping? ⇒ Boolean
42
|
# File 'lib/ds9.rb', line 42
def ping?; true; end
|
#ping_ack? ⇒ Boolean
44
45
46
|
# File 'lib/ds9.rb', line 44
def ping_ack?
(flags & Flags::ACK) > 0
end
|