---
lang: en
title: 'API docs: socketio.defaultsocketiosequence._constructor_'
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.defaultsocketiosequence._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/socketio](./socketio.md) &gt; [DefaultSocketIoSequence](./socketio.defaultsocketiosequence.md) &gt; [(constructor)](./socketio.defaultsocketiosequence._constructor_.md)

## DefaultSocketIoSequence.(constructor)

Constructs a new instance of the `DefaultSocketIoSequence` class

<b>Signature:</b>

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

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  context | [Context](./context.context.md) |  |
|  controller | [ControllerClass](./core.controllerclass.md) |  |
|  invoke | [SocketIoInvokeMethod](./socketio.socketioinvokemethod.md) |  |
|  send | [SocketIoSendMethod](./socketio.socketiosendmethod.md) |  |
|  reject | [SocketIoRejectMethod](./socketio.socketiorejectmethod.md) |  |


