Skip to main content

connect

Function connect 

Source
pub fn connect(args: &[Value]) -> Result<Value, String>
Expand description

tls.connect(options[, cb]) / tls.connect(port[, host][, options][, cb]). Returns a TLSSocket immediately; the TCP connect + handshake run on a background thread and emit secureConnect (or error) when complete.