Interface VBANServerEvents

interface VBANServerEvents {
    error: ((err) => void);
    listening: (() => void);
    message: ((packet, sender) => void);
}

Properties

error: ((err) => void)

Type declaration

    • (err): void
    • Parameters

      • err: Error

      Returns void

listening: (() => void)

Type declaration

    • (): void
    • Returns void

message: ((packet, sender) => void)

Type declaration

    • (packet, sender): void
    • Parameters

      Returns void