spike008t commented on a change in pull request #1012: TINKERPOP-1889 - Upgrade
ws, adding ping and reconnection javascript
URL: https://github.com/apache/tinkerpop/pull/1012#discussion_r243203610
##########
File path:
gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js
##########
@@ -56,27 +60,16 @@ class Connection {
* @param {GraphSONWriter} [options.writer] The writer to use.
* @param {Authenticator} [options.authenticator] The authentication handler
to use.
* @param {Object} [options.headers] An associative array containing the
additional header key/values for the initial request.
+ * @param {Boolean} [options.pingEnabled] Setup ping interval
+ * @param {Number} [options.pingInterval] Ping request interval if ping
enabled
+ * @param {Number} [options.pongTimeout] Timeout of pong response after
sending a ping
+ * @param {Boolean} [options.autoReconnect] Auto reconnect on timeout
+ * @param {Boolean} [options.connectOnStartup] Open websocket on startup
Review comment:
Updated.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services