Skip to main content
ServerOptions.keepAlive - http - Node documentation
property ServerOptions.keepAlive

Usage in Deno

import { type ServerOptions } from "node:http";

If set to true, it enables keep-alive functionality on the socket immediately after a new incoming connection is received, similarly on what is done in socket.setKeepAlive([enable][, initialDelay]).

Type

boolean | undefined