pubsub multibase encoding (#8933)

* pubsub multibase encoding

Adds clarification for pubsub multibase encoding over HTTP RPC for issue https://github.com/ipfs/ipfs-docs/issues/1007

* Grammatical change

* Moved period
This commit is contained in:
T Mo 2022-05-06 11:49:15 -04:00 committed by GitHub
parent 831c33925f
commit 9a84a4f06e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ TOPIC AND DATA ENCODING
`,
},
Arguments: []cmds.Argument{
cmds.StringArg("topic", true, false, "Name of topic to subscribe to."),
cmds.StringArg("topic", true, false, "Name of topic to subscribe to (multibase encoded when sent over HTTP RPC)."),
},
PreRun: urlArgsEncoder,
Run: func(req *cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) error {
@ -170,7 +170,7 @@ HTTP RPC ENCODING
`,
},
Arguments: []cmds.Argument{
cmds.StringArg("topic", true, false, "Topic to publish to."),
cmds.StringArg("topic", true, false, "Topic to publish to (multibase encoded when sent over HTTP RPC)."),
cmds.FileArg("data", true, false, "The data to be published.").EnableStdin(),
},
PreRun: urlArgsEncoder,