lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
7 lines (6 loc) • 316 B
TypeScript
import type { ClientRequest } from "node:http";
export interface SocketKeepAliveOptions {
keepAlive: boolean;
keepAliveMsecs?: number;
}
export declare const setSocketKeepAlive: (request: ClientRequest, { keepAlive, keepAliveMsecs }: SocketKeepAliveOptions, deferTimeMs?: number) => NodeJS.Timeout | number;