Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.Conn

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

§Extends

§
Reader
[src]
§
Writer
[src]
§
Closer
[src]

§Properties

§
readonly localAddr: Addr
[src]

The local address of the connection.

§
readonly remoteAddr: Addr
[src]

The remote address of the connection.

§
readonly rid: number
[src]

The resource ID of the connection.

§Methods

§
closeWrite(): Promise<void>
[src]

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