deno.connectoptions
继承关系
- ConnectOptions
索引
Properties
Properties
Optional hostname
hostname: string
一个 IP 地址或者可以被解析为 IP 地址的主机名。 如果没有指定,默认值为 127.0.0.1
。
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
port: number
要连接的端口号。
The port to connect to.
Optional transport
transport: “tcp”
图例说明
- Property
本文档使用 TypeDoc 生成。