Transport#smartCertificateCheck SyncExperimental

var result = transport.smartCertificateCheck(cert, valid, hostname);
Parameters Type  
cert Cert the certificate to pass to the caller
valid Number whether we believe the certificate is valid
hostname String the hostname we connected to
Number the return value of the callback

Transport#smartCredentials AsyncExperimental

transport.smartCredentials(user, methods).then(function(cred) {
  // Use cred
Parameters Type  
user String the user we saw on the url (if any)
methods Number available methods for authentication

Transport#smartProxyOptions AsyncExperimental

transport.smartProxyOptions().then(function(proxyOptions) {
  // Use proxyOptions
ProxyOptions options struct to fill

Transport.FLAGS ENUM

Flag Value
Transport.FLAGS.NONE 0