@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
136 lines (65 loc) • 1.94 kB
Markdown
---
lang: en
title: 'API docs: socketio.socketioapplication'
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.socketioapplication.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/socketio](./socketio.md) > [SocketIoApplication](./socketio.socketioapplication.md)
## SocketIoApplication class
**Signature:**
```typescript
export declare class SocketIoApplication extends Application
```
**Extends:** [Application](./core.application.md)
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[(constructor)(config)](./socketio.socketioapplication._constructor_.md)
</td><td markdown="1">
</td><td markdown="1">
Constructs a new instance of the `SocketIoApplication` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[socketServer](./socketio.socketioapplication.socketserver.md)
</td><td markdown="1">
`readonly`
</td><td markdown="1">
[SocketIoServer](./socketio.socketioserver.md)
</td><td markdown="1">
The main Socket server instance providing Socket connections for this application.
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[server(server, name)](./socketio.socketioapplication.server.md)
</td><td markdown="1">
</td><td markdown="1">
</td></tr>
</tbody></table>