:{[optionName:string]:any;headers:{[headerName:string]:string;
: { [optionName: string]: any; headers: { [headerName: string]: string; }; } | null; } shouldReconnect See section on Reconnecting. reconnectInterval Number of milliseconds to wait until it attempts to reconnect. Default is 5000. Event Handlers: Callback Each of Options#onMessage, ...