On this page

    M

    tls.connect

    History
    tls.connect(path, options?, callback?): tls.TLSSocket
    Attributes
    path:string
    Default value for options.path.
    options:Object
    callback:Function

    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.