Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/workerd/http.ts>NetAddress

A JavaScript extension package for building strong and modern applications.
Latest
interface NetAddress
Re-export
import { type NetAddress } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/http.ts";

Represents the network address of a connection peer.

Properties

family: "IPv4" | "IPv6"
address: string

The IP address of the remote peer.

port: number

The port number of the remote peer, or 0 if it's not available.