summaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket
Commit message (Collapse)AuthorAgeFilesLines
* feat: add WebSocket server with full NIP-01 supportbndw4 days2-0/+322
WebSocket handler: - NIP-01 protocol (EVENT, REQ, CLOSE, OK, EOSE, NOTICE) - JSON envelope parsing - Shares subscription manager with gRPC (unified event fan-out) - Standard Nostr client compatibility Relay now serves dual protocols: - gRPC on :50051 (binary, high performance) - WebSocket on :8080 (JSON, Nostr standard) Both protocols share: - Same storage layer - Same subscription manager - Same validation logic Compatible with all Nostr clients!