CommunitySolidServer/src/server/ServerConfigurator.ts
Joachim Van Herwegen 4223dcf8a4 feat: Split up server creation and request handling
This allows us to decouple the WebSocket listening from the HTTP configs,
making these features completely orthogonal.
2022-11-09 09:10:00 +01:00

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> {}