@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
22 lines (15 loc) • 660 B
Markdown
lang: en
title: 'API docs: socketio.sockiomiddleware'
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.sockiomiddleware.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/socketio](./socketio.md) > [SockIOMiddleware](./socketio.sockiomiddleware.md)
## SockIOMiddleware type
<b>Signature:</b>
```typescript
export declare type SockIOMiddleware = (socket: Socket, fn: (err?: any) => void) => void;
```