MCPcopy
hub / github.com/slackapi/node-slack-sdk / KeepAliveOptions

Interface KeepAliveOptions

packages/rtm-api/src/KeepAlive.ts:6–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { ErrorCode, CodedError } from './errors';
5
6export interface KeepAliveOptions {
7 logger?: Logger;
8 logLevel?: LogLevel;
9 /** How long (in ms) to wait before sending a ping message to keep the connection alive */
10 clientPingTimeout?: number;
11 /** How long (in ms) to wait for the acknowledgement of a ping message before considering the connection dead */
12 serverPongTimeout?: number; // NOTE: this must be less than clientPingTimeout
13}
14
15/**
16 * An object that monitors activity in an RTMClient and generates ping events in an effort to keep its websocket

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected