doc: add added:
info for dgram.*Membership()
Since I was doing the necessary git archaeology anyway, I took the time to add YAML information to the docs about when `addMembership()` and `dropMembership()` first appeared in their current forms. PR-URL: https://github.com/nodejs/node/pull/6753 Ref: https://github.com/nodejs/node/issues/6578 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
03505052a1
commit
1ef4916ab9
@ -71,6 +71,9 @@ socket.on('message', (msg, rinfo) => {
|
||||
```
|
||||
|
||||
### socket.addMembership(multicastAddress[, multicastInterface])
|
||||
<!-- YAML
|
||||
added: v0.6.9
|
||||
-->
|
||||
|
||||
* `multicastAddress` {String}
|
||||
* `multicastInterface` {String}, Optional
|
||||
@ -173,6 +176,9 @@ Close the underlying socket and stop listening for data on it. If a callback is
|
||||
provided, it is added as a listener for the [`'close'`][] event.
|
||||
|
||||
### socket.dropMembership(multicastAddress[, multicastInterface])
|
||||
<!-- YAML
|
||||
added: v0.6.9
|
||||
-->
|
||||
|
||||
* `multicastAddress` {String}
|
||||
* `multicastInterface` {String}, Optional
|
||||
|
Loading…
x
Reference in New Issue
Block a user