@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
34 lines (23 loc) • 1.16 kB
Markdown
lang: en
title: 'API docs: socketio.socketiobooter._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.socketiobooter._constructor_.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/socketio](./socketio.md) > [SocketIoBooter](./socketio.socketiobooter.md) > [(constructor)](./socketio.socketiobooter._constructor_.md)
## SocketIoBooter.(constructor)
Constructs a new instance of the `SocketIoBooter` class
<b>Signature:</b>
```typescript
constructor(app: Application, projectRoot: string, socketioControllerConfig: ArtifactOptions, socketioServer: SocketIoServer);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| app | [Application](./core.application.md) | |
| projectRoot | string | |
| socketioControllerConfig | [ArtifactOptions](./boot.artifactoptions.md) | |
| socketioServer | [SocketIoServer](./socketio.socketioserver.md) | |