module Protocol::HTTP2::Acknowledgement

Public Instance Methods

acknowledge() click to toggle source
# File lib/protocol/http2/ping_frame.rb, line 32
def acknowledge
        frame = self.class.new
        
        frame.length = 0
        frame.set_flags(ACKNOWLEDGEMENT)
        
        return frame
end
acknowledgement?() click to toggle source
# File lib/protocol/http2/ping_frame.rb, line 28
def acknowledgement?
        flag_set?(ACKNOWLEDGEMENT)
end