UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

104 lines (51 loc) 1.58 kB
--- lang: en title: 'API docs: socketio.socketioconnectioncontext' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/extensions/socketio permalink: /doc/en/lb4/apidocs.socketio.socketioconnectioncontext.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/socketio](./socketio.md) &gt; [SocketIoConnectionContext](./socketio.socketioconnectioncontext.md) ## SocketIoConnectionContext class Request context for a socket.io request **Signature:** ```typescript export declare class SocketIoConnectionContext extends Context ``` **Extends:** [Context](./context.context.md) ## Constructors <table><thead><tr><th> Constructor </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [(constructor)(socket, parent)](./socketio.socketioconnectioncontext._constructor_.md) </td><td markdown="1"> </td><td markdown="1"> Constructs a new instance of the `SocketIoConnectionContext` class </td></tr> </tbody></table> ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [socket](./socketio.socketioconnectioncontext.socket.md) </td><td markdown="1"> `readonly` </td><td markdown="1"> Socket </td><td markdown="1"> </td></tr> </tbody></table>