Page Contents

Home > @loopback/socketio > SocketIoBooter

SocketIoBooter class

A class that extends BaseArtifactBooter to boot the ‘SocketIoController’ artifact type. Discovered controllers are bound using app.controller().

Supported phases: configure, discover, load


export declare class SocketIoBooter extends BaseArtifactBooter 

Extends: BaseArtifactBooter


Constructor Modifiers Description
(constructor)(app, projectRoot, socketioControllerConfig, socketioServer)   Constructs a new instance of the SocketIoBooter class


Property Modifiers Type Description
app   Application  
socketioControllerConfig   ArtifactOptions  
socketioServer   SocketIoServer  


Method Modifiers Description
load()   Uses super method to get a list of Artifact classes. Boot each class by binding it to the application using app.controller(controller);.