mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: fix return type of server.address()
PR-URL: https://github.com/nodejs/node/pull/22043 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
parent
d68f946fe4
commit
049c0464ce
@ -114,7 +114,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].
|
||||
added: v0.1.90
|
||||
-->
|
||||
|
||||
* Returns: {Object}
|
||||
* Returns: {Object|string}
|
||||
|
||||
Returns the bound `address`, the address `family` name, and `port` of the server
|
||||
as reported by the operating system if listening on an IP socket
|
||||
|
Loading…
Reference in New Issue
Block a user