Skip to content

Commit e8e0cf7

Browse files
committed
docs: add mDNS discovery option to new_host function docs
1 parent 4eff928 commit e8e0cf7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libp2p/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ def new_host(
258258
:param disc_opt: optional discovery
259259
:param muxer_preference: optional explicit muxer preference
260260
:param listen_addrs: optional list of multiaddrs to listen on
261+
:param enable_mDNS: whether to enable mDNS discovery
261262
:return: return a host instance
262263
"""
263264
swarm = new_swarm(

0 commit comments

Comments
 (0)