tls.connect(path[, options][, callback])


tls.connect() 相同,不同之处在于 path 可以作为参数提供,而不是作为选项。

【Same as tls.connect() except that path can be provided as an argument instead of an option.】

路径选项,如果指定,将优先于路径参数。

【A path option, if specified, will take precedence over the path argument.】