mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
docs: add mDNS discovery option to new_host function docs
This commit is contained in:
@ -258,6 +258,7 @@ def new_host(
|
|||||||
:param disc_opt: optional discovery
|
:param disc_opt: optional discovery
|
||||||
:param muxer_preference: optional explicit muxer preference
|
:param muxer_preference: optional explicit muxer preference
|
||||||
:param listen_addrs: optional list of multiaddrs to listen on
|
:param listen_addrs: optional list of multiaddrs to listen on
|
||||||
|
:param enable_mDNS: whether to enable mDNS discovery
|
||||||
:return: return a host instance
|
:return: return a host instance
|
||||||
"""
|
"""
|
||||||
swarm = new_swarm(
|
swarm = new_swarm(
|
||||||
|
|||||||
Reference in New Issue
Block a user