JSON-RPC: Update for --jsonrpcbindip#871
JSON-RPC: Update for --jsonrpcbindip#871ann0see merged 1 commit intojamulussoftware:next-releasefrom
Conversation
Update documentation for --jsonrpcbindip command line argument.
gilgongo
left a comment
There was a problem hiding this comment.
Is this feature in for the next release? If so, any objections to merging it?
hoffie
left a comment
There was a problem hiding this comment.
This feature was merged in jamulussoftware/jamulus#2917.
| - `-p` or `--port` Sets the local UDP port number. Default is 22124 | ||
| - `--jsonrpcport` Enables JSON-RPC API server to control the app, set TCP port number (EXPERIMENTAL, APIs might change; only accessible from localhost). Please see [the JSON-RPC API Documentation file](https://github.com/jamulussoftware/jamulus/blob/master/docs/JSON-RPC.md). | ||
| - `--jsonrpcsecretfile` Required when using `--jsonrpcport`. Sets a path to a text file containing an authentication string for getting access to the JSON-RPC API. | ||
| - `--jsonrpcbindip` The IP address the JSON-RPC server should bind to. (optional, defaults to 127.0.0.1) |
There was a problem hiding this comment.
The spacing looks off at least here on Github, probably as there's a tab while other places use spaces.
There was a problem hiding this comment.
None of this will render nicely. Seems like a markdown table is needed.
There was a problem hiding this comment.
We used to have that and it made it even harder to read :-)
There was a problem hiding this comment.
https://tucc.us/u/ouchy.html
Maybe we could roll our own HTML rather than using Markdown's design.
There was a problem hiding this comment.
Not sure if it's wise to use in-line HTML (if that's what's happening - or it is working with the CSS?). Also it needs to work with https://jamulus.io/wiki/Software-Manual#command-line-options - and the Server manual - that's why it's an include.
There was a problem hiding this comment.
Yes, this is in-line HTML with a pinch of CSS. I am curious what Markdown would make, and haven't looked yet. Markdown lets HTML co-exist inline (user beware, sure), and presumably we have our own CSS such that we can tweak the standard table if need be.
There was a problem hiding this comment.
Actually just tried it and the markdown doesn't look too bad (I think before we had more text in the cells so the rows looked odd or something). Just means the Client manual will have two tables but that doesn't look awful. It's easier to read. I'll give it a go.
There was a problem hiding this comment.
I'll wait for the PR to finalise before making the change though. Making a note on my PR so I don't forget.
|
Thank you very much! |
Short description of changes
Documentation for --jsonrpcbindip
Context: Fixes an issue? Related issues
Relates to PR #2917 in jamulus core.
Status of this Pull Request
What is missing until this pull request can be merged?
Translations
Does this need translation?
Probably, not sure.
Checklist