Options for events triggered by network packets.

interface PacketEventOptions {
    ignoredPacketIds?: PacketId[];
    monitoredPacketIds?: PacketId[];
}

Properties

ignoredPacketIds?: PacketId[]

If provided, packet IDs in this list will not trigger the event subscriptions.

monitoredPacketIds?: PacketId[]

If provided only packet IDs in this list will trigger the event subscriptions.