1 | /// <reference types="node" />
|
2 | import { Server, IncomingMessage, ServerResponse } from 'http';
|
3 | import { HttpRequestHandler } from '../../interfaces';
|
4 | export declare function enhanceHttpServerWithWebSockets<Request extends IncomingMessage = IncomingMessage, Response extends ServerResponse = ServerResponse>(websocketServer: Server, postgraphileMiddleware: HttpRequestHandler, subscriptionServerOptions?: {
|
5 | keepAlive?: number;
|
6 | graphqlRoute?: string;
|
7 | }): Promise<void>;
|