(category?: 'public' | 'market' | 'private')
| 314 | } |
| 315 | |
| 316 | getFStreamSingleUrl(category?: 'public' | 'market' | 'private') { |
| 317 | if (category) { |
| 318 | if (this.Options.demo) return `wss://fstream.binancefuture.com/${category}/ws/`; |
| 319 | if (this.Options.test) return `wss://stream.binancefuture.${this.domain}/${category}/ws/`; |
| 320 | return `wss://fstream.binance.${this.domain}/${category}/ws/`; |
| 321 | } |
| 322 | if (this.Options.demo) return this.fstreamSingleDemo; |
| 323 | if (this.Options.test) return this.fstreamSingleTest; |
| 324 | return this.fstreamSingle; |
| 325 | } |
| 326 | |
| 327 | getFStreamUrl(category?: 'public' | 'market' | 'private') { |
| 328 | if (category) { |
no outgoing calls
no test coverage detected