notbank
Version:
The Notbank for Node.js
10 lines (9 loc) • 352 B
TypeScript
import { MessageFrame } from "./messageFrame.js";
import { WebsocketHooks } from "./websocketHooks.js";
export interface WebsocketConnectionConfiguration {
domain?: string;
websocketHooks?: WebsocketHooks;
peekMessageIn?: (message: MessageFrame) => void;
peekMessageOut?: (message: MessageFrame) => void;
withReconnect?: boolean;
}