Skip to main content
Module

x/denoversion/lib/lib.deno_runtime.d.ts>deno.Conn

Deno cli to manage and bump release versions.
Latest
interface deno.Conn
implements Reader, Writer, Closer
import { type deno } from "https://deno.land/x/denoversion@v1.0.2/lib/lib.deno_runtime.d.ts";
const { Conn } = deno;

Properties

localAddr: string

The local address of the connection.

remoteAddr: string

The remote address of the connection.

rid: number

The resource ID of the connection.

Methods

closeRead(): void

Shuts down (shutdown(2)) the reading side of the TCP connection. Most callers should just use close().

closeWrite(): void

Shuts down (shutdown(2)) the writing side of the TCP connection. Most callers should just use close().