(self, address: base.multiaddr_t, *addresses: base.multiaddr_t,
	            **kwargs: base.CommonArgs)
return self._client.request('/swarm/connect', args, decoder='json', **kwargs)
Attempts to connect to a peer at the given multiaddr
		
		This will open a new direct connection to a peer address. The address
		format is an IPFS multiaddr, e.g.::
		
			/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
		
		.. code-block:: python
		
			>>> client.swarm.connect("/ip4/104.131.131.82/tcp/4001/ipfs/Qma … uvuJ")
			{'Strings': ['connect QmaCpDMGvV2BGHeYERUEnRQAwe3 … uvuJ success']}
		
		Parameters
		----------
		address
			Address of peer to connect to
		
		Returns
		-------
			dict
				Textual connection status report
Attempts to connect to a peer at the given multiaddr
		
		This will open a new direct connection to a peer address. The address
		format is an IPFS multiaddr, e.g.::
		
			/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
		
		.. code-block:: python
		
			>>> client.swarm.connect("/ip4/104.131.131.82/tcp/4001/ipfs/Qma … uvuJ")
			{'Strings': ['connect QmaCpDMGvV2BGHeYERUEnRQAwe3 … uvuJ success']}
		
		Parameters
		----------
		address
			Address of peer to connect to
		
		Returns
		-------
			dict
				Textual connection status report
Attempts to connect to a peer at the given multiaddr This will open a new direct connection to a peer address . The address format is an IPFS multiaddr e . g . :: / ip4 / 104 . 131 . 131 . 82 / tcp / 4001 / ipfs / QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ .. code - block :: python >>> client . swarm . connect ( / ip4 / 104 . 131 . 131 . 82 / tcp / 4001 / ipfs / Qma … uvuJ ) { Strings : [ connect QmaCpDMGvV2BGHeYERUEnRQAwe3 … uvuJ success ] } Parameters ---------- address Address of peer to connect to Returns ------- dict Textual connection status report
def connect(self, address: base.multiaddr_t, *addresses: base.multiaddr_t,
	            **kwargs: base.CommonArgs):
		"""Attempts to connect to a peer at the given multiaddr
		
		This will open a new direct connection to a peer address. The address
		format is an IPFS multiaddr, e.g.::
		
			/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
		
		.. code-block:: python
		
			>>> client.swarm.connect("/ip4/104.131.131.82/tcp/4001/ipfs/Qma … uvuJ")
			{'Strings': ['connect QmaCpDMGvV2BGHeYERUEnRQAwe3 … uvuJ success']}
		
		Parameters
		----------
		address
			Address of peer to connect to
		
		Returns
		-------
			dict
				Textual connection status report
		"""
		args = (str(address), *(str(a) for a in address))
		return self._client.request('/swarm/connect', args, decoder='json', **kwargs)
def connect ( self , address : base . multiaddr_t , * addresses : base . multiaddr_t , * * kwargs : base . CommonArgs ) : args = ( str ( address ) , * ( str ( a ) for a in address ) ) return self . _client . request ( '/swarm/connect' , args , decoder = 'json' , * * kwargs )