UNPKG

@fanoutio/grip

Version:
5 lines 371 B
/// <reference types="node" resolution-mode="require"/> import { type IncomingMessage } from 'node:http'; export declare function isNodeReqWsOverHttp(req: IncomingMessage): boolean; export declare function getWebSocketContextFromNodeReq(req: IncomingMessage, prefix?: string): Promise<import("../../index.js").WebSocketContext>; //# sourceMappingURL=ws-over-http.d.ts.map