()
| 276 | }; |
| 277 | |
| 278 | constructor() { |
| 279 | this.ws = null; |
| 280 | this.sessionIdCounter = 0; |
| 281 | this.pendingRequests = new Map(); |
| 282 | this.cipherOut = null; |
| 283 | this.cipherIn = null; |
| 284 | this.secureEstablished = false; |
| 285 | } |
| 286 | |
| 287 | static parseUrl(url) { |
| 288 | const match = url.match(/^(https?):\/\/([^/:]+)(?::(\d+))?((?:\/.*)?)/); |
nothing calls this directly
no outgoing calls
no test coverage detected