MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

lib/internal/socketaddress.js:176–186  ·  view source on GitHub ↗
(handle)

Source from the content-addressed store, hash-verified

174
175class InternalSocketAddress {
176 constructor(handle) {
177 markTransferMode(this, true, false);
178
179 this[kHandle] = handle;
180 this[kDetail] = this[kHandle]?.detail({
181 address: undefined,
182 port: undefined,
183 family: undefined,
184 flowlabel: undefined,
185 });
186 }
187}
188
189InternalSocketAddress.prototype.constructor =

Callers

nothing calls this directly

Calls 2

markTransferModeFunction · 0.85
detailMethod · 0.45

Tested by

no test coverage detected