mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
import type WebSocket from 'ws';
|
|
import { AsyncHandler } from '../util/handlers/AsyncHandler';
|
|
import type { HttpRequest } from './HttpRequest';
|
|
|
|
/**
|
|
* A WebSocketHandler handles the communication with multiple WebSockets
|
|
*/
|
|
export abstract class WebSocketHandler
|
|
extends AsyncHandler<{ webSocket: WebSocket; upgradeRequest: HttpRequest }> {}
|