Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/lib.deno.ns.d.ts>Deno.ConnectOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.ConnectOptions
import { type Deno } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.ns.d.ts";
const { ConnectOptions } = Deno;

Properties

port: number

The port to connect to.

optional
hostname: string

A literal IP address or host name that can be resolved to an IP address. If not specified, defaults to 127.0.0.1.

optional
transport: "tcp"