Page Contents

Home > @loopback/socketio > DefaultSocketIoSequence > (constructor)

DefaultSocketIoSequence.(constructor)

Constructs a new instance of the DefaultSocketIoSequence class

Signature:

constructor(context: Context, controller: ControllerClass, invoke: SocketIoInvokeMethod, send: SocketIoSendMethod, reject: SocketIoRejectMethod);

Parameters

Parameter Type Description
context [Context](/doc/en/lb4/apidocs.context.context.html)
controller [ControllerClass](/doc/en/lb4/apidocs.core.controllerclass.html)
invoke [SocketIoInvokeMethod](/doc/en/lb4/apidocs.socketio.socketioinvokemethod.html)
send [SocketIoSendMethod](/doc/en/lb4/apidocs.socketio.socketiosendmethod.html)
reject [SocketIoRejectMethod](/doc/en/lb4/apidocs.socketio.socketiorejectmethod.html)