Skip to content

0.5.0

Compare
Choose a tag to compare
@andrearaponi andrearaponi released this 30 Oct 18:02
· 9 commits to main since this release
018690a

๐Ÿ‘‰ Dito 0.5.0 - WebSocket Proxy Support

What's New

WebSocket Proxy Support ๐Ÿ•ธ๏ธ

Dito now supports WebSocket proxying, allowing you to seamlessly forward WebSocket connections to your backend servers. This feature can be enabled per location, offering flexible and granular WebSocket routing for real-time applications and protocols.

  • New enable_websocket Configuration:
    • Easily enable WebSocket support on specific routes by adding enable_websocket: true to your location configuration.
    • Example:
      # List of location configurations for proxying requests.
      locations:
         - path: "^/test-ws$" # Regex pattern to match the request path.
           target_url: "wss://echo.websocket.org" # The target URL to which the request will be proxied.
           enable_websocket: true # Enable WebSocket support for this location.
           replace_path: true # Replace the matched path with the target URL.

Upcoming Enhancements for WebSocket Support ๐Ÿ”„

Future versions of Dito will include even more advanced WebSocket features:

  • Enhanced TLS Support: Configurable TLS settings for secure WebSocket connections, ensuring data integrity and privacy.
  • Comprehensive Error Handling: Improved resilience and error management for WebSocket connections to handle unexpected interruptions or connection issues gracefully.
  • Detailed Metrics: Real-time metrics for WebSocket traffic, allowing you to monitor performance, connection stability, and data flow with precision.

As always, please thoroughly test this update and share your feedback. Contributions and issue reports are greatly appreciated!