File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ declare module 'obs-websocket-js' {
204
204
}
205
205
206
206
class ObsWebSocket extends EventEmitter {
207
- connect(options?: {address?: string; password?: string}, callback?: (error?: Error) => void): Promise<void>;
207
+ connect(options?: {address?: string; password?: string; secure?: boolean }, callback?: (error?: Error) => void): Promise<void>;
208
208
disconnect(): void;
209
209
210
210
send<K extends keyof RequestMethodsArgsMap>(
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ class Socket extends EventEmitter {
54
54
* Opens a WebSocket connection to an obs-websocket server, but does not attempt any authentication.
55
55
*
56
56
* @param {String } address url without ws:// or wss:// prefix.
57
+ * @param {Boolean } secure whether to us ws:// or wss://
57
58
* @returns {Promise }
58
59
* @private
59
60
* @return {Promise } on attempted creation of WebSocket connection.
You can’t perform that action at this time.
0 commit comments