WebSocket Connection: You can now pass the original request to the verifyClient function, allowing for enhanced session verification and improved security during connection establishment.
Event Handling: The library now supports an event listener for connection errors, making it easier to handle issues as they arise.
Improvements
Code Readability: The code has been updated for better readability, making it easier for developers to understand and work with the codebase.
Connection Management: The connection is now properly closed when invalid Hixie data is encountered, ensuring a more robust connection handling process.
Receiver Optimization: The receiver has been rewritten to avoid stack overflow issues in bundled frame packets, enhancing stability during data transmission.
Fixes
Fix connection issues related to invalid Hixie data, ensuring that the connection closes appropriately when such data is encountered.
Fix stack overflow problems in bundled frame packets, improving the overall reliability of the WebSocket communication.
Others
Clean up whitespace throughout the codebase to maintain a consistent coding style and improve overall code quality.
Update the project history to reflect recent changes and improvements, providing better context for future development.