http-proxy-middleware
http-proxy-middleware copied to clipboard
websocket messages interception & manipulation
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