tien commented on code in PR #2506:
URL: https://github.com/apache/tinkerpop/pull/2506#discussion_r1512022240
##########
gremlin-javascript/src/main/javascript/gremlin-javascript/lib/utils.js:
##########
@@ -112,8 +95,36 @@ exports.getUserAgentHeader = function getUserAgentHeader() {
return 'User-Agent';
};
-const userAgent = generateUserAgent();
+exports.getUserAgent = async () => {
Review Comment:
Yes, but unfortunately to my knowledge, Web API Web Socket doesn't allow you
to set custom headers.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]