Page Contents
Home > @loopback/socketio > SocketIoConnectionContext
SocketIoConnectionContext class
Request context for a socket.io request
Signature:
export declare class SocketIoConnectionContext extends Context
Extends: Context
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| [(constructor)(socket, parent)](/doc/en/lb4/apidocs.socketio.socketioconnectioncontext._constructor_.html) | Constructs a new instance of the `SocketIoConnectionContext` class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [socket](/doc/en/lb4/apidocs.socketio.socketioconnectioncontext.socket.html) | `readonly` | Socket |