Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/P.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/P.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/P.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/P.html Thu May 28 14:59:52 2020
@@ -1840,7 +1840,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Path.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Path.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Path.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Path.html Thu May 28 14:59:52 2020
@@ -231,7 +231,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/PlainTextSaslAuthenticator.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/PlainTextSaslAuthenticator.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/PlainTextSaslAuthenticator.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/PlainTextSaslAuthenticator.html Thu 
May 28 14:59:52 2020
@@ -443,7 +443,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteConnection.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteConnection.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteConnection.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteConnection.html Thu May 28 
14:59:52 2020
@@ -529,7 +529,7 @@ returning results.</div>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteStrategy.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteStrategy.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteStrategy.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteStrategy.html Thu May 28 
14:59:52 2020
@@ -294,7 +294,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteTraversal.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteTraversal.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteTraversal.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/RemoteTraversal.html Thu May 28 
14:59:52 2020
@@ -159,7 +159,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResponseError.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResponseError.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResponseError.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResponseError.html Thu May 28 14:59:52 
2020
@@ -349,7 +349,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResultSet.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResultSet.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResultSet.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/ResultSet.html Thu May 28 14:59:52 2020
@@ -704,7 +704,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslAuthenticator.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslAuthenticator.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslAuthenticator.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslAuthenticator.html Thu May 28 
14:59:52 2020
@@ -442,7 +442,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismBase.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismBase.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismBase.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismBase.html Thu May 28 
14:59:52 2020
@@ -491,7 +491,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismPlain.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismPlain.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismPlain.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/SaslMechanismPlain.html Thu May 28 
14:59:52 2020
@@ -908,7 +908,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TextP.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TextP.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TextP.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TextP.html Thu May 28 14:59:52 2020
@@ -1125,7 +1125,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Translator.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Translator.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Translator.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/Translator.html Thu May 28 14:59:52 
2020
@@ -320,7 +320,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategies.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategies.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategies.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategies.html Thu May 28 
14:59:52 2020
@@ -504,7 +504,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategy.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategy.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategy.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TraversalStrategy.html Thu May 28 
14:59:52 2020
@@ -308,7 +308,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TypeSerializer.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TypeSerializer.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TypeSerializer.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/TypeSerializer.html Thu May 28 
14:59:52 2020
@@ -155,7 +155,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_authenticator.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_authenticator.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_authenticator.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_authenticator.js.html Thu 
May 28 14:59:52 2020
@@ -80,7 +80,7 @@ module.exports = Authenticator;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-base.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-base.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-base.js.html
 (original)
+++ 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-base.js.html
 Thu May 28 14:59:52 2020
@@ -94,7 +94,7 @@ module.exports = SaslMechanismBase;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-plain.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-plain.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-plain.js.html
 (original)
+++ 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_mechanisms_sasl-mechanism-plain.js.html
 Thu May 28 14:59:52 2020
@@ -138,7 +138,7 @@ module.exports = SaslMechanismPlain;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_plain-text-sasl-authenticator.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_plain-text-sasl-authenticator.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_plain-text-sasl-authenticator.js.html
 (original)
+++ 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_plain-text-sasl-authenticator.js.html
 Thu May 28 14:59:52 2020
@@ -97,7 +97,7 @@ module.exports = PlainTextSaslAuthentica
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_sasl-authenticator.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_sasl-authenticator.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_sasl-authenticator.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_auth_sasl-authenticator.js.html 
Thu May 28 14:59:52 2020
@@ -91,7 +91,7 @@ module.exports = SaslAuthenticator;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_client.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_client.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_client.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_client.js.html Thu May 28 
14:59:52 2020
@@ -46,6 +46,7 @@
  */
 'use strict';
 
+const utils = require('../utils');
 const Connection = require('./connection');
 const Bytecode = require('../process/bytecode');
 
@@ -67,11 +68,20 @@ class Client {
    * @param {String} [options.traversalSource] The traversal source. Defaults 
to: 'g'.
    * @param {GraphSONWriter} [options.writer] The writer to use.
    * @param {Authenticator} [options.authenticator] The authentication handler 
to use.
-   * @param {String} [options.processor] The name of the opProcessor to use
+   * @param {String} [options.processor] The name of the opProcessor to use, 
leave it undefined or set 'session' when session mode.
+   * @param {String} [options.session] The sessionId of Client in session 
mode. Defaults to null means session-less Client.
    * @constructor
    */
   constructor(url, options) {
     this._options = options;
+    if (this._options.processor === 'session') {
+      // compatibility with old 'session' processor setting
+      this._options.session = options.session || utils.getUuid()
+    }
+    if (this._options.session) {
+      // re-assign processor to 'session' when in session mode
+      this._options.processor = options.processor || 'session';
+    }
     this._connection = new Connection(url, options);
   }
 
@@ -98,6 +108,9 @@ class Client {
         'accept': this._connection.mimeType,
         'aliases': { 'g': this._options.traversalSource || 'g' }
       };
+      if (this._options.session &amp;&amp; this._options.processor === 
'session') {
+        args['session'] = this._options.session;
+      }
 
       return this._connection.submit(null, 'eval', args, null, 
this._options.processor || '');
     }
@@ -109,9 +122,14 @@ class Client {
 
   /**
    * Closes the underlying connection
+   * send session close request before connection close if session mode
    * @returns {Promise}
    */
   close() {
+    if (this._options.session &amp;&amp; this._options.processor === 
'session') {
+      const args = {'session': this._options.session};
+      return this._connection.submit(null, 'close', args, null, 
this._options.processor).then(() => this._connection.close());
+    }
     return this._connection.close();
   }
 
@@ -151,7 +169,7 @@ module.exports = Client;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_connection.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_connection.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_connection.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_connection.js.html Thu May 28 
14:59:52 2020
@@ -418,7 +418,7 @@ module.exports = Connection;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_driver-remote-connection.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_driver-remote-connection.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_driver-remote-connection.js.html 
(original)
+++ 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_driver-remote-connection.js.html 
Thu May 28 14:59:52 2020
@@ -124,7 +124,7 @@ module.exports = DriverRemoteConnection;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_remote-connection.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_remote-connection.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_remote-connection.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_remote-connection.js.html Thu 
May 28 14:59:52 2020
@@ -140,7 +140,7 @@ module.exports = { RemoteConnection, Rem
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_response-error.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_response-error.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_response-error.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_response-error.js.html Thu May 
28 14:59:52 2020
@@ -88,7 +88,7 @@ module.exports = ResponseError;</code></
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_result-set.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_result-set.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_result-set.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/driver_result-set.js.html Thu May 28 
14:59:52 2020
@@ -134,7 +134,7 @@ module.exports = ResultSet;</code></pre>
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/global.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/global.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/global.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/global.html Thu May 28 14:59:52 2020
@@ -192,7 +192,7 @@
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/index.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/index.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/index.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/index.html Thu May 28 14:59:52 2020
@@ -102,7 +102,7 @@ thus for early testing purposes only.</p
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_anonymous-traversal.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_anonymous-traversal.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_anonymous-traversal.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_anonymous-traversal.js.html 
Thu May 28 14:59:52 2020
@@ -114,7 +114,7 @@ module.exports = AnonymousTraversalSourc
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_bytecode.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_bytecode.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_bytecode.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_bytecode.js.html Thu May 28 
14:59:52 2020
@@ -138,7 +138,7 @@ module.exports = Bytecode;
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_graph-traversal.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_graph-traversal.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_graph-traversal.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_graph-traversal.js.html Thu 
May 28 14:59:52 2020
@@ -1402,7 +1402,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_translator.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_translator.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_translator.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_translator.js.html Thu May 28 
14:59:52 2020
@@ -134,7 +134,7 @@ module.exports = Translator;</code></pre
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal-strategy.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal-strategy.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal-strategy.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal-strategy.js.html Thu 
May 28 14:59:52 2020
@@ -142,7 +142,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/process_traversal.js.html Thu May 28 
14:59:52 2020
@@ -518,7 +518,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_graph.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_graph.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_graph.js.html (original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_graph.js.html Thu May 28 
14:59:52 2020
@@ -229,7 +229,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_graph-serializer.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_graph-serializer.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_graph-serializer.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_graph-serializer.js.html 
Thu May 28 14:59:52 2020
@@ -295,7 +295,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>

Modified: 
tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_type-serializers.js.html
URL: 
http://svn.apache.org/viewvc/tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_type-serializers.js.html?rev=1878232&r1=1878231&r2=1878232&view=diff
==============================================================================
--- tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_type-serializers.js.html 
(original)
+++ tinkerpop/site/jsdocs/3.4.7-SNAPSHOT/structure_io_type-serializers.js.html 
Thu May 28 14:59:52 2020
@@ -530,7 +530,7 @@ module.exports = {
 <br class="clear">
 
 <footer>
-    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Mon Feb 24 2020 15:38:12 GMT-0500 (EST)
+    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc";>JSDoc 
3.5.5</a> on Thu May 28 2020 10:57:33 GMT-0400 (EDT)
 </footer>
 
 <script> prettyPrint(); </script>


Reply via email to