Skip to content

Conversation

LordNayan
Copy link
Member

Description

Made the following enhancements for websocket connection handling,

  1. Schema Handling
  • Added support for URLs without protocol schema (e.g., example.com/websocket)
  • Automatically detects and converts HTTP/HTTPS schemas to WS/WSS equivalents
  1. 307 Temporary Redirect Handling
  • Implemented automatic retry logic for 307 redirect responses
  • Automatically upgrades from ws:// to wss:// when 307 redirect is detected

Add Issue Number

NA

Add Screenshots/GIFs

ws_url_handling_optimize.mov

Add Known Issue

NA

Contribution Checklist:

  • The pull request only addresses one issue or adds one feature.
  • I have linked an issue to the pull request.
  • I have linked a PR type label to the pull request.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or GIFs to help explain the change if applicable.
  • I have read the contribution guidelines.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant