Skip to content

Commit

Permalink
already putting in query params
Browse files Browse the repository at this point in the history
  • Loading branch information
ssnyder-intrinio committed Jul 12, 2024
1 parent 3e4b1f3 commit c9f546f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -615,10 +615,7 @@ class IntrinioRealtime {
try {
console.info("Intrinio Realtime Client - Websocket initializing (public key)");
let wsUrl = this._getWebSocketUrl();
this._websocket = new WebSocket(wsUrl, null, {headers: {
[CLIENT_INFO_HEADER_KEY]: CLIENT_INFO_HEADER_VALUE,
[MESSAGE_VERSION_HEADER_KEY]: MESSAGE_VERSION_HEADER_VALUE
}});
this._websocket = new WebSocket(wsUrl);
this._websocket.binaryType = "arraybuffer";
this._websocket.onopen = () => {
console.log("Intrinio Realtime Client - Websocket connected (public key)");
Expand Down

0 comments on commit c9f546f

Please sign in to comment.