Page Contents

Home > @loopback/socketio > SocketIoComponent

SocketIoComponent class

Signature:

export declare class SocketIoComponent implements Component 

Implements: Component

Constructors

Constructor Modifiers Description
[(constructor)(app)](/doc/en/lb4/apidocs.socketio.socketiocomponent._constructor_.html) Constructs a new instance of the `SocketIoComponent` class

Properties

Property Modifiers Type Description
[bindings](/doc/en/lb4/apidocs.socketio.socketiocomponent.bindings.html) [Binding](/doc/en/lb4/apidocs.context.binding.html)\[\] Add built-in body parsers
[booters](/doc/en/lb4/apidocs.socketio.socketiocomponent.booters.html) (typeof [SocketIoBooter](/doc/en/lb4/apidocs.socketio.socketiobooter.html))\[\]
[providers](/doc/en/lb4/apidocs.socketio.socketiocomponent.providers.html) [ProviderMap](/doc/en/lb4/apidocs.core.providermap.html)
[servers](/doc/en/lb4/apidocs.socketio.socketiocomponent.servers.html) { \[name: string\]: [Constructor](/doc/en/lb4/apidocs.context.constructor.html)<[Server](/doc/en/lb4/apidocs.core.server.html)>; }