MCPcopy Create free account
hub / github.com/ambianic/peerfetch / peer_connection

Function peer_connection

python/src/peerfetch/proxy.py:185–187  ·  view source on GitHub ↗
(peerConnection)

Source from the content-addressed store, hash-verified

183 # remote peer tries to initiate connection
184 @peer.on(PeerEventType.Connection)
185 async def peer_connection(peerConnection):
186 logger.info('Remote peer trying to establish connection')
187 _setPeerConnectionHandlers(peerConnection)
188
189
190async def _fetch(url: str = None, method: str = 'GET', json: str = None, data = None) -> Any:

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected