interface Proxy

A running proxy: the port a frontend may connect to, and how to take it down.

Properties

address: string

Where the DevTools frontend should point its ws= — localhost:<port>.

Methods

close(): Promise<void>

Drops every frontend still attached and stops listening.

Usage

import { type Proxy } from "lib/repl/proxy.ts";