Page Contents

Home > @loopback/socketio > SocketIoControllerFactory

SocketIoControllerFactory class

A factory to instantiate socket.io controllers

Signature:

export declare class SocketIoControllerFactory 

Constructors

Constructor Modifiers Description
(constructor)(parentCtx, controllerClass, socket)   Constructs a new instance of the SocketIoControllerFactory class

Properties

Property Modifiers Type Description
connCtx   SocketIoConnectionContext  

Methods

Method Modifiers Description
connect()    
create()    
getAllMethodMetadataForKey(metadataAccessor)    
getCallback(methodName)    
getDecoratedMethodsForConnect()    
getDecorateSubscribeMethods()    
getDecorateSubscribeMethodsByEventName()    
registerSubscribeMethods()    
setup()   Set up the controller for the given socket