Skip to content

refactor(facade): update websocket_facade to return common protocol interfaces#658

Merged
kcenon merged 1 commit into
mainfrom
refactor/issue-657-websocket-facade-common-interfaces
Feb 3, 2026
Merged

refactor(facade): update websocket_facade to return common protocol interfaces#658
kcenon merged 1 commit into
mainfrom
refactor/issue-657-websocket-facade-common-interfaces

Conversation

@kcenon

@kcenon kcenon commented Feb 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add ws_client_adapter wrapping messaging_ws_client to implement i_protocol_client
  • Add ws_server_adapter with ws_session_wrapper for session abstraction to implement i_protocol_server
  • Update websocket_facade.h to return i_protocol_client/i_protocol_server instead of WebSocket-specific interfaces
  • Update tests for new interface

This brings WebSocket facade in line with the unified interface pattern used by tcp_facade and udp_facade.

Test Plan

  • WebSocket facade tests pass (21/21)
  • Build succeeds with no errors
  • All existing tests continue to pass

Closes #657

…nterfaces (#657)

Modify websocket_facade to return i_protocol_client/i_protocol_server instead of messaging_ws_client/messaging_ws_server types, matching the pattern used by tcp_facade and udp_facade.

Changes:

- Add ws_client_adapter wrapping messaging_ws_client

- Add ws_server_adapter with ws_session_wrapper for session abstraction

- Update websocket_facade.h to use common interface return types

- Update tests for new interface
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Performance Comparison

Base Branch Results

No base results

PR Branch Results

No PR results

@kcenon kcenon merged commit 9885401 into main Feb 3, 2026
44 checks passed
@kcenon kcenon deleted the refactor/issue-657-websocket-facade-common-interfaces branch February 3, 2026 23:57
kcenon added a commit that referenced this pull request Apr 13, 2026
…nterfaces (#657) (#658)

Modify websocket_facade to return i_protocol_client/i_protocol_server instead of messaging_ws_client/messaging_ws_server types, matching the pattern used by tcp_facade and udp_facade.

Changes:

- Add ws_client_adapter wrapping messaging_ws_client

- Add ws_server_adapter with ws_session_wrapper for session abstraction

- Update websocket_facade.h to use common interface return types

- Update tests for new interface
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.

refactor(facade): update websocket_facade to return common protocol interfaces

1 participant