We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1259ebe commit 71144b5Copy full SHA for 71144b5
1 file changed
src/types/websockets/ws-general.ts
@@ -1,3 +1,6 @@
1
+import { ClientRequestArgs } from 'http';
2
+import WebSocket from 'isomorphic-ws';
3
+
4
import { RestClientOptions } from '../rest/client.js';
5
import { APICredentials, APIMarket } from '../shared.js';
6
@@ -35,7 +38,7 @@ export interface WSClientConfigurableOptions {
35
38
wsOptions?: {
36
39
protocols?: string[];
37
40
agent?: any;
- };
41
+ } & Partial<WebSocket.ClientOptions | ClientRequestArgs>;
42
wsUrl?: string;
43
44
/**
0 commit comments