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

KASWebSocket kasUrl #6

Merged
merged 1 commit into from
Jul 9, 2024
Merged

KASWebSocket kasUrl #6

merged 1 commit into from
Jul 9, 2024

Conversation

arkavo-com
Copy link
Contributor

Refactor KASWebSocket initialization and enhance error handling

This commit refactors the KASWebSocket's initializer to accept a URL parameter, enabling flexibility in the WebSocket endpoint. It addresses previous hard-coded "kasUrl" in the connect() method. Also, it introduces better error handling to manage scenarios where the received data isn't equal to the expected 93 bytes. Tests have been updated to comply with these changes. Additionally, new performance baselines for KASWebsocketTests have been established.

This commit refactors the KASWebSocket's initializer to accept a URL parameter, enabling flexibility in the WebSocket endpoint. It addresses previous hard-coded "kasUrl" in the connect() method. Also, it introduces better error handling to manage scenarios where the received data isn't equal to the expected 93 bytes. Tests have been updated to comply with these changes. Additionally, new performance baselines for KASWebsocketTests have been established.
Copy link

sonarqubecloud bot commented Jul 9, 2024

@arkavo-com arkavo-com merged commit 43c2e1f into main Jul 9, 2024
2 checks passed
@arkavo-com arkavo-com deleted the fix/init-kasUrl branch July 9, 2024 01:16
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