Share via


ProxySettings interface

僅) 設定傳出要求的 Proxy 選項 (Node.js。

屬性

host

Proxy 的主機位址。

password

視需要向 Proxy 進行驗證的密碼。

port

Proxy 主機的埠。

username

如有需要,要向 Proxy 進行驗證的使用者名稱。

屬性詳細資料

host

Proxy 的主機位址。

host: string

屬性值

string

password

視需要向 Proxy 進行驗證的密碼。

password?: string

屬性值

string

port

Proxy 主機的埠。

port: number

屬性值

number

username

如有需要,要向 Proxy 進行驗證的使用者名稱。

username?: string

屬性值

string