Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/lib.deno.d.ts>Deno.TcpConn

A JavaScript extension package for building strong and modern applications.
Latest
interface Deno.TcpConn
implements Conn
import { type Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { TcpConn } = Deno;

Properties

readonly
deprecated
rid: number

The resource ID of the connection.

Methods

setNoDelay(noDelay?: boolean): void

Enable/disable the use of Nagle's algorithm.

setKeepAlive(keepAlive?: boolean): void

Enable/disable keep-alive functionality.