W3cubDocs

/Deno

Deno.Conn

interface Conn extends Reader, Writer, Closer {
readonly localAddr: Addr;
readonly remoteAddr: Addr;
readonly rid: number;
closeWrite(): Promise<void>;
}

Extends

Properties

readonly localAddr: Addr

The local address of the connection.

readonly remoteAddr: Addr

The remote address of the connection.

readonly rid: number

The resource ID of the connection.

Methods

closeWrite(): Promise<void>

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

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.Conn