-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
As stated in this #19 (comment), these hook functions should be created:
OnTraffic
: passes data between the client and server. Callbacks for incoming and outgoing traffic are called here.OnShutdown
: shutdown the server, effectively cleaning everything up.OnTick
: fires a function everyn
seconds.onConfigLoaded
: the configuration is loaded.onNewLogger
: a new logger is created.onNewPool
: a new pool is created.onNewProxy
: a new proxy is created.onNewServer
: a new server is created.onNewClient
: a new client is created.onSignal
: a new signal is caught.onRun
: the server is run.onBooting
: the boot sequence is starting.onBooted
: the boot sequence is finished.onOpenning
: a new connection is just opened.onOpened
: the connection is opened.onClosing
: the connection is being closed.onClosed
: the connection is closed.onIncomingTraffic
: incoming traffic from clients (to server).onOutgoingTraffic
: outgoing traffic to clients (from server).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
🎉 Done