Deno.ConnectOptions
interface ConnectOptions {
hostname?
: string;
port
: number;
transport?
: "tcp";
}
Properties
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
.
port
: number
The port to connect to.
transport?
: "tcp"
© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.ConnectOptions