UNPKG

actionhero

Version:

The reusable, scalable, and quick node.js API server for stateless and stateful applications

23 lines (22 loc) 602 B
import { ActionheroConfigInterface } from ".."; declare const namespace = "websocket"; declare module ".." { interface ActionheroConfigInterface { [namespace]: ReturnType<(typeof DEFAULT)[typeof namespace]>; } } export declare const DEFAULT: { websocket: (config: ActionheroConfigInterface) => { enabled: boolean; clientUrl: string; clientJsPath: string; clientJsName: string; destroyClientsOnShutdown: boolean; server: {}; client: { apiPath: string; cookieKey: string; }; }; }; export {};