Page Contents
Home > @loopback/socketio > SocketIoConnectionContext > (constructor)
SocketIoConnectionContext.(constructor)
Constructs a new instance of the SocketIoConnectionContext class
Signature:
constructor(socket: Socket, parent: Context);
Parameters
| Parameter | Type | Description |
|---|---|---|
| socket | Socket | |
| parent | [Context](/doc/en/lb4/apidocs.context.context.html) |