Skip to content

Commit

Permalink
pubsub multibase encoding
Browse files Browse the repository at this point in the history
Adds clarification for pubsub multibase encoding over HTTP RPC for issue ipfs/ipfs-docs#1007
  • Loading branch information
TMoMoreau authored May 3, 2022
1 parent 0d74f32 commit 848acc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/commands/pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 848acc1

Please sign in to comment.