@sodacore/ws
Version:
Sodacore ws is a core plugin that extends the Http plugin offering WebSocket support to the Sodacore framework.
7 lines • 307 B
TypeScript
import { type IMiddleware, type HttpContext } from '@sodacore/http';
export default class UpgradeMiddleware implements IMiddleware {
private config;
private logger;
handle(context: HttpContext): Promise<true | import("undici-types").Response | undefined>;
}
//# sourceMappingURL=upgrade.d.ts.map