mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
commit
d9969c8f0a
|
@ -496,7 +496,7 @@ class MainServer extends WsServer {
|
||||||
* @param {String} type The type of event, typically `in` (incoming) or `out` (outgoing)
|
* @param {String} type The type of event, typically `in` (incoming) or `out` (outgoing)
|
||||||
* @param {ws#WebSocket} socket Either target client or client (depends on `type`)
|
* @param {ws#WebSocket} socket Either target client or client (depends on `type`)
|
||||||
* @param {Object} payload Either incoming data from client or outgoing data (depends on `type`)
|
* @param {Object} payload Either incoming data from client or outgoing data (depends on `type`)
|
||||||
* @private
|
* @public
|
||||||
* @return {Object|Boolean}
|
* @return {Object|Boolean}
|
||||||
*/
|
*/
|
||||||
executeHooks(type, socket, payload) {
|
executeHooks(type, socket, payload) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user