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
[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().