From 7151cff669397dad3ddcc52556f52cc48111acc9 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 d47cfe22ebb735..cf5230ae700b8c 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 @@ -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. ### socket.dropMembership(multicastAddress[, multicastInterface]) + * `multicastAddress` {String} * `multicastInterface` {String}, Optional