http-proxy-middleware icon indicating copy to clipboard operation
http-proxy-middleware copied to clipboard

websocket messages interception & manipulation

Open w0aw opened this issue 1 year ago • 0 comments

Describe the feature you'd love to see

can we intercept each and every incoming or outgoing websocket messages & manipulate like normal http responses?

use case - ie. use this proxy as gateway & inspect all graphql subscription messages.( so we can double check user is subscribed to his data only)

let me know if i am at wrong place

Additional context (optional)

existing resource - https://wundergraph.com/blog/quirks_of_graphql_subscriptions_sse_websockets_hasura_apollo_federation_supergraph#manipulating/filtering-graphql-subscription-messages

w0aw avatar Sep 10 '23 09:09 w0aw