Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/levo/templates/new-project/lib/lib.deno_runtime.d.ts>Deno.Conn

Server side rendering with The Elm Architecture in Deno
Latest
interface Deno.Conn
implements Reader, Writer, Closer
import { type Deno } from "https://deno.land/x/levo@v0.0.27/templates/new-project/lib/lib.deno_runtime.d.ts";
const { Conn } = Deno;

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(): void

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

Unstable because of lack of testing and because Deno.shutdown is also unstable.