* Returns an array in the form of [host, port] * @param {string} connString - connection string * @return {array} array of host and port
(connString: string)
| 389 | * @return {array} array of host and port |
| 390 | */ |
| 391 | parseProxy(connString: string) { |
| 392 | const arr = connString.split('/'); |
| 393 | const host = arr[2].split(':')[0]; |
| 394 | const port = arr[2].split(':')[1]; |
| 395 | return [arr[0], host, port]; |
| 396 | } |
| 397 | |
| 398 | /** |
| 399 | * Checks to see of the object is iterable |
no outgoing calls
no test coverage detected