ThreeMammals / Ocelot

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

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

Open raman-m opened 11 months ago

raman-m commented 11 months 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 6 months ago

One more concern

raman-m commented 3 weeks ago

TODO

Pick up this ticket only after