You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/recognize-stream.ts
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,7 @@ class RecognizeStream extends Duplex {
117
117
* @param {string} [options.base_model_version] - The version of the specified base model that is to be used with recognition request or, for the **Create a session** method, with the new session.
118
118
* Multiple versions of a base model can exist when a model is updated for internal improvements. The parameter is intended primarily for use with custom models that have been upgraded for a new base model.
119
119
* The default value depends on whether the parameter is used with or without a custom model. For more information, see [Base model version](https://console.bluemix.net/docs/services/speech-to-text/input.html#version).
120
+
* @param {Boolean} [options.rejectUnauthorized] - If true, disable SSL verification for the WebSocket connection
120
121
*
121
122
* @constructor
122
123
*/
@@ -133,8 +134,15 @@ class RecognizeStream extends Duplex {
133
134
this.listening=false;
134
135
this.initialized=false;
135
136
this.finished=false;
137
+
136
138
// is using iam, another authentication step is needed
0 commit comments