mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

This allows us to decouple the WebSocket listening from the HTTP configs, making these features completely orthogonal.
8 lines
255 B
TypeScript
8 lines
255 B
TypeScript
import type { Server } from 'http';
|
|
import { AsyncHandler } from '../util/handlers/AsyncHandler';
|
|
|
|
/**
|
|
* Configures a {@link Server} by attaching listeners for specific events.
|
|
*/
|
|
export abstract class ServerConfigurator extends AsyncHandler<Server> {}
|