Deno.TcpConn.setKeepAlive - Deno documentation
method Deno.TcpConn.setKeepAlive
TcpConn.setKeepAlive(keepAlive?: boolean): void

Enable/disable keep-alive functionality.

Parameters

optional
keepAlive: boolean

Return Type

void