SocketCluster

20.0.0

socketClusterServer

Properties

AGServer A reference to the SocketCluster server class.
AGServerSocket A reference to the SocketCluster server socket class.

Methods

attach(httpServer, options) Create a new SocketCluster server and attach it to the specified Node.js HTTP server instance. This method returns an AGServer instance. The list of possible options which will be passed to the SocketCluster server instance can be found here.
listen(port, options, fn) Create a SocketCluster server instance which is already attached to an HTTP server instance and ready to use. This method returns an AGServer instance.

AltStyle によって変換されたページ (->オリジナル) /