upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 13:00:34 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2025-12-11 13:00:34 +0000
commita56e12e0aed87c68fd49b453b5c3dc0bfbf81285 (patch)
treec0b6d8e3177b744bba7b0005f56df18d6e9d5620 /docs/reference
parent82c5783a4d40c4273cb12317ec9bf88a2e281a04 (diff)
docs(sync): document why RelayConnection uses Client instead of Relay directly
nostr-sdk 0.44's Relay::new() is pub(crate), making it impossible to construct a Relay directly from outside the crate. Relays can only be created through Client::add_relay() or RelayPool::add_relay(). This commit: - Adds 'Why Client instead of Relay directly?' section to struct docs - Updates run_event_loop() docs to explain the API constraint - Removes outdated 'Future Refactoring' suggestion (not feasible)
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions