* Gets the local IP address to which this connection socket is bound to. * @returns {String|undefined}
()
| 781 | * @returns {String|undefined} |
| 782 | */ |
| 783 | getLocalAddress() { |
| 784 | if (!this.netClient) { |
| 785 | return undefined; |
| 786 | } |
| 787 | |
| 788 | return this.netClient.localAddress; |
| 789 | } |
| 790 | } |
| 791 | |
| 792 | module.exports = Connection; |
no outgoing calls
no test coverage detected