ThreeMammals / Ocelot

.NET API Gateway
https://www.nuget.org/packages/Ocelot
MIT License
8.4k stars 1.64k forks source link

Follow-up #1377: `WebSocketsProxyMiddleware` concerns #1707

Open raman-m opened 1 year ago

raman-m commented 1 year ago

Relates to #1377 #1689

Bug fixes:

Initial issue in #1377:

Code review comment on Sep 28

Expected Behavior / New Feature

The WebSocketsProxyMiddleware class must be redesigned.

Actual Behavior / Motivation for New Feature

The UseWebSocketsProxyMiddleware method enables custom WebSocketsProxyMiddleware in the pipeline. But there is no usage of native WebSocketMiddleware class which is industry standard. But instead of standard framework middleware a custom WebSocketsProxyMiddleware class was written with custom Invoke method. This is design issue...

Links

Specifications

raman-m commented 8 months ago

One more concern

raman-m commented 3 months ago

TODO

Pick up this ticket only after