deno / 1.23.2 / ~ / deno.tcpconn.html /

Deno.TcpConn

interface TcpConn extends Conn {
setKeepAlive( keepalive?: boolean) : void;
setNoDelay( nodelay?: boolean) : void;
}

Extends

Methods

setKeepAlive( keepalive?: boolean) : void

UNSTABLE: new API, see https://github.com/denoland/deno/issues/13617.

Enable/disable keep-alive functionality.

setNoDelay( nodelay?: boolean) : void

UNSTABLE: new API, see https://github.com/denoland/deno/issues/13617.

Enable/disable the use of Nagle's algorithm. Defaults to true.

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.TcpConn