summaryrefslogtreecommitdiff
path: root/doc/api/dgram.md
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2019-09-06 01:42:22 -0400
committerTrivikram Kamat <16024985+trivikr@users.noreply.github.com>2019-09-09 16:45:24 -0700
commitc929b15d1d65ae88261c65e901c7dca9f110a2c5 (patch)
tree8f76e0fa29566267ba53ad0bfdef72ea72129e6d /doc/api/dgram.md
parent6723169097759502da11c47389ffb3d650404417 (diff)
downloadandroid-node-v8-c929b15d1d65ae88261c65e901c7dca9f110a2c5.tar.gz
android-node-v8-c929b15d1d65ae88261c65e901c7dca9f110a2c5.tar.bz2
android-node-v8-c929b15d1d65ae88261c65e901c7dca9f110a2c5.zip
doc: space around lists
Address markdownlint rule MD032. Flagged a few mixed list styles. PR-URL: https://github.com/nodejs/node/pull/29467 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/dgram.md')
-rw-r--r--doc/api/dgram.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/dgram.md b/doc/api/dgram.md
index f4ae367527..38d9492be8 100644
--- a/doc/api/dgram.md
+++ b/doc/api/dgram.md
@@ -83,6 +83,7 @@ added: v0.1.99
The `'message'` event is emitted when a new datagram is available on a socket.
The event handler function is passed two arguments: `msg` and `rinfo`.
+
* `msg` {Buffer} The message.
* `rinfo` {Object} Remote address information.
* `address` {string} The sender address.
@@ -241,6 +242,7 @@ socket.bind({
<!-- YAML
added: v0.1.99
-->
+
* `callback` {Function} Called when the socket has been closed.
Close the underlying socket and stop listening for data on it. If a callback is