MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / getLocalAddress

Method getLocalAddress

lib/connection.js:783–789  ·  view source on GitHub ↗

* Gets the local IP address to which this connection socket is bound to. * @returns {String|undefined}

()

Source from the content-addressed store, hash-verified

781 * @returns {String|undefined}
782 */
783 getLocalAddress() {
784 if (!this.netClient) {
785 return undefined;
786 }
787
788 return this.netClient.localAddress;
789 }
790}
791
792module.exports = Connection;

Calls

no outgoing calls

Tested by

no test coverage detected