Skip to content

Commit 1ef4916

Browse files
committed
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: nodejs#6753 Ref: nodejs#6578 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 0350505 commit 1ef4916

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/api/dgram.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ socket.on('message', (msg, rinfo) => {
7171
```
7272

7373
### socket.addMembership(multicastAddress[, multicastInterface])
74+
<!-- YAML
75+
added: v0.6.9
76+
-->
7477

7578
* `multicastAddress` {String}
7679
* `multicastInterface` {String}, Optional
@@ -173,6 +176,9 @@ Close the underlying socket and stop listening for data on it. If a callback is
173176
provided, it is added as a listener for the [`'close'`][] event.
174177

175178
### socket.dropMembership(multicastAddress[, multicastInterface])
179+
<!-- YAML
180+
added: v0.6.9
181+
-->
176182

177183
* `multicastAddress` {String}
178184
* `multicastInterface` {String}, Optional

0 commit comments

Comments
 (0)