Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support socket connection and message middleware #1984

Merged
merged 8 commits into from
Jul 12, 2022

Conversation

czy88840616
Copy link
Member

@czy88840616 czy88840616 commented May 15, 2022

目标

  • 1、支持 connection middleware 和 message middleware 等
  • 2、socket 支持 filter
  • 3、web socket 支持多 namespace
  • 4、web socket 支持自动 ping/pong
  • 5、支持 cluster 模式粘性会话

@gitpod-io
Copy link

gitpod-io bot commented May 15, 2022

@czy88840616 czy88840616 changed the title feat: support controller middleware feat: support socket connection and message middleware May 15, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jun 12, 2022

Codecov Report

Merging #1984 (bc41718) into main (b516daa) will decrease coverage by 0.02%.
The diff coverage is 81.25%.

@@            Coverage Diff             @@
##             main    #1984      +/-   ##
==========================================
- Coverage   82.25%   82.23%   -0.03%     
==========================================
  Files         403      403              
  Lines       13493    13541      +48     
  Branches     3148     3159      +11     
==========================================
+ Hits        11099    11135      +36     
- Misses       2193     2205      +12     
  Partials      201      201              
Impacted Files Coverage Δ
packages/ws/src/framework.ts 85.60% <69.23%> (-4.60%) ⬇️
packages/socketio/src/framework.ts 86.60% <86.20%> (-1.31%) ⬇️
.../decorator/src/decorator/ws/webSocketController.ts 90.90% <100.00%> (ø)
...kages/decorator/src/decorator/ws/webSocketEvent.ts 88.23% <100.00%> (+1.56%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24e93c6...bc41718. Read the comment docs.

@czy88840616 czy88840616 merged commit 886d0bf into main Jul 12, 2022
@czy88840616 czy88840616 deleted the fix_socket_features branch July 12, 2022 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants