Page Contents
Home > @loopback/socketio > SocketIoServer > (constructor)
SocketIoServer.(constructor)
Constructs a new instance of the SocketIoServer class
Signature:
constructor(app: Application, options?: SocketIoServerOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| app | Application | |
| options | SocketIoServerOptions |