ferristseng / rust-ipfs-api

IPFS HTTP client in Rust
Apache License 2.0
246 stars 68 forks source link

The `/api/v0/swarm/connect` command is not implemented #122

Closed BoisterousCoder closed 1 year ago

BoisterousCoder commented 1 year ago

Summary

The /api/v0/swarm/connect command is missing from this library.

Problem

Without the ability to use the /api/v0/swarm/connect command, a user of this library is unable to connect to peers other than the default ones.

Solution

Code needs to be added to the repository to handle being able to connect to peers by sending sending a post request

Detail

This is issue is base on the discussion #121