From 1ef4916ab9b60a1e75d81306492ef4a01c61292c Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 16 May 2016 14:56:30 -0700 Subject: [PATCH] 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 Reviewed-By: Colin Ihrig Reviewed-By: Ben Noordhuis --- doc/api/dgram.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api/dgram.md b/doc/api/dgram.md index 953d4bf8c9c0b3..7a09c9385a82a6 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -71,6 +71,9 @@ socket.on('message', (msg, rinfo) => { ``` ### socket.addMembership(multicastAddress[, multicastInterface]) + * `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]) + * `multicastAddress` {String} * `multicastInterface` {String}, Optional