Commit 2b04390
JSON-RPC: add optional directory hole punch to jamulusclient/connect
Mirror the new --connectdirectory option on the RPC side: connect now
accepts an optional "directory" param. When given, CClient::Connect
hole-punches through that directory (CLM_REQ_SERVER_LIST) before
connecting, so an RPC-driven client can reach a server behind a cloud
firewall/NAT the same way the GUI directory list does. A non-string
directory is rejected with invalid params; the server address is
connected to verbatim and need not be listed by the directory.
docs/JSON-RPC.md regenerated via tools/generate_json_rpc_docs.py.
Relates to jamulussoftware/jamuluswebsite#1122
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 886381c commit 2b04390
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
267 | 271 | | |
268 | 272 | | |
269 | 273 | | |
| |||
273 | 277 | | |
274 | 278 | | |
275 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
276 | 287 | | |
277 | 288 | | |
278 | 289 | | |
| 290 | + | |
279 | 291 | | |
280 | | - | |
| 292 | + | |
281 | 293 | | |
282 | 294 | | |
283 | 295 | | |
| |||
0 commit comments