UNPKG

@loopback/docs

Version:

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

153 lines (71 loc) 2.28 kB
--- lang: en title: 'API docs: socketio.socketiocomponent' 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.socketiocomponent.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/socketio](./socketio.md) &gt; [SocketIoComponent](./socketio.socketiocomponent.md) ## SocketIoComponent class **Signature:** ```typescript export declare class SocketIoComponent implements Component ``` **Implements:** [Component](./core.component.md) ## Constructors <table><thead><tr><th> Constructor </th><th> Modifiers </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [(constructor)(app)](./socketio.socketiocomponent._constructor_.md) </td><td markdown="1"> </td><td markdown="1"> Constructs a new instance of the `SocketIoComponent` 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"> [bindings](./socketio.socketiocomponent.bindings.md) </td><td markdown="1"> </td><td markdown="1"> [Binding](./context.binding.md)<!-- -->\[\] </td><td markdown="1"> Add built-in body parsers </td></tr> <tr><td markdown="1"> [booters](./socketio.socketiocomponent.booters.md) </td><td markdown="1"> </td><td markdown="1"> (typeof [SocketIoBooter](./socketio.socketiobooter.md)<!-- -->)\[\] </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [providers](./socketio.socketiocomponent.providers.md) </td><td markdown="1"> </td><td markdown="1"> [ProviderMap](./core.providermap.md) </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [servers](./socketio.socketiocomponent.servers.md) </td><td markdown="1"> </td><td markdown="1"> { \[name: string\]: [Constructor](./context.constructor.md)<!-- -->&lt;[Server](./core.server.md)<!-- -->&gt;; } </td><td markdown="1"> </td></tr> </tbody></table>