UNPKG

@solid/community-server

Version:

Community Solid Server: an open and modular implementation of the Solid specifications

13 lines (12 loc) 418 B
import type { WebSocket } from 'ws'; import { AsyncHandler } from 'asynchronous-handlers'; import type { HttpRequest } from './HttpRequest'; export interface WebSocketHandlerInput { webSocket: WebSocket; upgradeRequest: HttpRequest; } /** * A handler to support requests trying to open a WebSocket connection. */ export declare abstract class WebSocketHandler extends AsyncHandler<WebSocketHandlerInput> { }