pypeafowl.DissectionInfoL7.getProtocol

DissectionInfoL7.getProtocol(self: pypeafowl.DissectionInfoL7) → peafowl::ProtocolL7

Returns the first protocol of the list, i.e. this call is equivalent to calling getProtocols[0].

Returns:

The first protocol of the list.