We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
finishRequest
1 parent c320738 commit 603a039Copy full SHA for 603a039
lib/websocket.js
@@ -618,6 +618,8 @@ module.exports = WebSocket;
618
* @param {(String|URL)} address The URL to which to connect
619
* @param {Array} protocols The subprotocols
620
* @param {Object} [options] Connection options
621
+ * @param {Function} [options.finishRequest] A function which can be used to
622
+ * customize the headers of each http request before it is sent
623
* @param {Boolean} [options.followRedirects=false] Whether or not to follow
624
* redirects
625
* @param {Function} [options.generateMask] The function used to generate the
0 commit comments