Spec-Zone.ru › Deno 1

Deno.TcpConn

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

Extends

Conn

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API