Skip to content

[Backend] Issue #41: Complete WebSocket server on /ws/kyc - #1022

Merged
ONEONUORA merged 1 commit into
Fracverse:masterfrom
akansmafengadamu:feat/websocket-kyc-950
Jul 29, 2026
Merged

[Backend] Issue #41: Complete WebSocket server on /ws/kyc#1022
ONEONUORA merged 1 commit into
Fracverse:masterfrom
akansmafengadamu:feat/websocket-kyc-950

Conversation

@akansmafengadamu

@akansmafengadamu akansmafengadamu commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Closes #950

Summary

Completes the WebSocket server on /ws/kyc by adding bidirectional message handling to broadcast real-time KYC status changes to connected clients.

Changes

  • Added handling for incoming WebSocket messages (close frames, ping/pong)
  • Added error handling for client disconnections
  • Improved logging for WebSocket connection lifecycle
  • The server now responds to ping frames with pong frames to maintain connection health

How it works

  1. Clients connect to GET /ws/kyc via WebSocket upgrade
  2. KYC webhook handler broadcasts KycUpdateEvent when KYC status changes
  3. All connected clients receive the event as a JSON message

@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@akansmafengadamu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ONEONUORA ONEONUORA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @akansmafengadamu

@ONEONUORA
ONEONUORA merged commit 3586fae into Fracverse:master Jul 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] Issue #41: Complete WebSocket server on /ws/kyc

2 participants