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 f85eb8a commit 70b39d4Copy full SHA for 70b39d4
src/main/java/io/ipfs/api/IPFS.java
@@ -235,6 +235,13 @@ public Object peers(String topic) throws IOException {
235
return retrieveAndParse("pubsub/peers?topic="+topic);
236
}
237
238
+ /**
239
+ *
240
+ * @param topic
241
+ * @param data url encoded data to be published
242
+ * @return
243
+ * @throws IOException
244
+ */
245
public Object pub(String topic, String data) throws IOException {
246
return retrieveAndParse("pubsub/pub?arg="+topic + "&arg=" + data);
247
0 commit comments