Skip to main content
Module

x/uuid/lib/lib.deno_runtime.d.ts>Deno.Conn

Deprecated! UUID is part of the deno standard library
Latest
interface Deno.Conn
implements Reader, Writer, Closer
import { type Deno } from "https://deno.land/x/uuid@v0.1.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().