Commit 2fbbc35
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 7d4a68d commit 2fbbc35
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 | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | 265 | | |
262 | 266 | | |
| |||
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
269 | 280 | | |
270 | 281 | | |
271 | 282 | | |
| 283 | + | |
272 | 284 | | |
273 | | - | |
| 285 | + | |
274 | 286 | | |
275 | 287 | | |
276 | 288 | | |
| |||
0 commit comments