all method
Remove all peers from the bootstrap list.
/api/v0/bootstrap/rm/all
Response:
{
"Peers": ["<string>", "..."],
"StatusCode": "<statusCode>",
"StatusMessage": "<statusMessage>"
}
See more: https://docs.ipfs.io/reference/http/api/#api-v0-bootstrap-rm-all
Implementation
Future<Map<String, dynamic>> all() async {
Response? res = await _post(Ipfs.dio, url: "${Ipfs.url}/bootstrap/rm/all");
return _interceptDioResponse(res, expectsResponseBody: true);
}