MsetSocketKeepAlive
Bun

method

http.ClientRequest.setSocketKeepAlive

enable?: boolean,
initialDelay?: number
): void;

Once a socket is assigned to this request and is connected socket.setKeepAlive() will be called.