Class representing an MQTT Ping Request packet
Create a new Ping Request packet
# File lib/mqtt/packet.rb, line 1020 def initialize(args={}) super(args) end
Check the body
# File lib/mqtt/packet.rb, line 1025 def parse_body(buffer) super(buffer) unless buffer.empty? raise ProtocolException.new("Extra bytes at end of Ping Request packet") end end