Method: PacketFu::Packet#payload
- Defined in:
- lib/packetfu/packet.rb
#payload ⇒ Object
Get the outermost payload (body) of the packet; this is why all packet headers should have a body type.
73 74 75 |
# File 'lib/packetfu/packet.rb', line 73 def payload @headers.last.body end |