Browse Source

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>
v4.x
Rich Trott 9 years ago
committed by Myles Borins
parent
commit
4f3107190d
  1. 6
      doc/api/dgram.md

6
doc/api/dgram.md

@ -71,6 +71,9 @@ socket.on('message', (msg, rinfo) => {
``` ```
### socket.addMembership(multicastAddress[, multicastInterface]) ### socket.addMembership(multicastAddress[, multicastInterface])
<!-- YAML
added: v0.6.9
-->
* `multicastAddress` {String} * `multicastAddress` {String}
* `multicastInterface` {String}, Optional * `multicastInterface` {String}, Optional
@ -174,6 +177,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. provided, it is added as a listener for the [`'close'`][] event.
### socket.dropMembership(multicastAddress[, multicastInterface]) ### socket.dropMembership(multicastAddress[, multicastInterface])
<!-- YAML
added: v0.6.9
-->
* `multicastAddress` {String} * `multicastAddress` {String}
* `multicastInterface` {String}, Optional * `multicastInterface` {String}, Optional

Loading…
Cancel
Save