Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

RA WSS Client

A generic WebSocket (wss:///ws://) client ra.common.network.NetworkService — the same role http-client-java's HTTPService plays for plain HTTP, and tor-client-java/i2p-java play for their networks. Not Nostr-specific: it knows how to open, maintain, and tear down WebSocket connections and hand bytes back to a NetworkService's producer/observer; it has no NIP-01 (or any other application-protocol) awareness.

Consumed by 1m5-core-java's WssProtocolService (NetworkServiceProtocol around this client, mirroring HttpProtocolService), and by did-java's ra.did.nostr.relay.NostrRelayClient/NostrRelayPool, which move onto this client instead of opening org.java-websocket connections directly — see 1m5-core-java/DESIGN.md §"NetworkServiceProtocol" and 1m5-docs/architecture/ADR-0004-mancon-tactics-per-level.md §"Decision: WSS via Nostr relays, peer-mediated below MANCON 4" for why this needs to exist as its own network/protocol adapter rather than folding into HTTP.

See TODO.md.

About

Web Server Socket client in Java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors