We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fb1350 commit 988ab8fCopy full SHA for 988ab8f
src/EventStream.js
@@ -41,7 +41,8 @@ class EventStream extends EventEmitter {
41
path: `${path}?access_token=${this.token}`,
42
method: 'get',
43
port: parseInt(port, 10) || (isSecure ? 443 : 80),
44
- mode: 'prefer-streaming'
+ mode: 'prefer-streaming',
45
+ headers: this.options.headers
46
});
47
48
this.req = req;
0 commit comments