Skip to content

General improvements for client and server#20

Merged
cjung95 merged 31 commits intomainfrom
develop
Oct 16, 2025
Merged

General improvements for client and server#20
cjung95 merged 31 commits intomainfrom
develop

Conversation

@cjung95
Copy link
Owner

@cjung95 cjung95 commented Oct 15, 2025

Handle client with the client handling flow
Improve thread and race condition safety
Improve deadlock safety
Clean up code
Add example projects

cjung95 and others added 30 commits September 21, 2024 12:11
Improve WebConext to handle the StatusCode
Improve WebSocketUpgradeHandler to handle the status code properly
…d-events-for-handling-the-upgrade-process

# Conflicts:
#	Jung.SimpleWebSocket/Models/WebContext.cs
#	Jung.SimpleWebSocket/SimpleWebSocketServer.cs
#	Jung.SimpleWebSocket/Wrappers/WebSocketUpgradeHandler.cs
Add event for expired passive user
Add switch for remembering disconnected clients
Add switch for removing passive users after the end of their lifetime
Add helper method for raising events in a new task
Change some event signatures
…nvoker list one after the other and not in parallel
…erstading of its purpose

Remove unnecessary parameter from WebSocketServerClient consturctor
Improve client handling flow tests
Improve race condition safety by using atomic methods
Improve dispose processes of the server and the client
Improve error handling
Add LogLevel property to the server options
Add SendingUpgradeRequestAsync event to client
Change argument of client disconnected event from client id to the client object
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.

1 participant