简体   繁体   English

在哪里可以看到 Socket.io 中的保留事件列表

[英]Where can I see a list of reserved events in Socket.io

For example, in socket.io there is a reserved event 'disconnect'.例如,在 socket.io 中有一个保留事件“断开连接”。 Where can I find a list of full events?我在哪里可以找到完整活动的列表?

You can find the full list in the source code.您可以在源代码中找到完整列表。 https://github.com/socketio/socket.io/blob/master/lib/socket.ts#L46 https://github.com/socketio/socket.io/blob/master/lib/socket.ts#L46

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM