Skip to main content
Module

x/netzo/deno.d.ts>Deno.Conn

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
interface Deno.Conn
implements Reader, Writer, Closer
import { type Deno } from "https://deno.land/x/netzo@v0.1.10/deno.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.

readonly
readable: ReadableStream<Uint8Array>
readonly
writable: WritableStream<Uint8Array>

Methods

closeWrite(): Promise<void>

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