The RC4 Private Key used to encrypt outgoing packet. This key is a Hex String, so should be converted to a Buffer for use.
Creates the correct packet object for the given type.
The type of packet to create.
An RC4 configuration which is suitable for PacketIO instances being used as a client.
Generated using TypeDoc
The RC4 Private Key to decrypt incoming packet data. This key is a Hex String, so should be converted to a Buffer for use.
const key = Buffer.from(INCOMING_KEY, 'hex');