Github user jorgebay commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/929#discussion_r217371869 --- Diff: gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/driver-remote-connection.js --- @@ -49,12 +49,14 @@ class DriverRemoteConnection extends RemoteConnection { * @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.headers] Add custom headers to the request. --- End diff -- The correct type of the `@param` is `{Object}`. What do you think about providing a little more detail, like: "An associative array containing the additional header key/values for the initial request"
---