We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486378b commit cbde953Copy full SHA for cbde953
src/org/ipfs/IPFS.java
@@ -31,6 +31,10 @@ public IPFS(String host, int port) {
31
this(host, port, "/api/v0/");
32
}
33
34
+ public IPFS(String multiaddr) {
35
+ this(new MultiAddress(multiaddr));
36
+ }
37
+
38
public IPFS(MultiAddress addr) {
39
this(addr.getHost(), addr.getTCPPort(), "/api/v0/");
40
0 commit comments