* Makes the matching socket instances disconnect. * * Note: this method also works within a cluster of multiple Socket.IO servers, with a compatible Adapter. * * @example * // make all socket instances disconnect (the connections might be kept alive for other namespaces) *
(close: boolean = false)
| 1078 | * @param close - whether to close the underlying connection |
| 1079 | */ |
| 1080 | public disconnectSockets(close: boolean = false) { |
| 1081 | return this.sockets.disconnectSockets(close); |
| 1082 | } |
| 1083 | } |
| 1084 | |
| 1085 | /** |