Next.js Discord

Discord Forum

Proxy all outbound traffic?

Unanswered
Devon Rex posted this in #help-forum
Open in Discord
Devon RexOP
I know this isn't NextJS specific, but does anyone know of any way (method/library/etc) to intercept all outbound traffic from Next to services that are depended on?

The aim is to record network traffic in a logfile, and use that with mswjs to effortlessly mock out dependencies for integration-style testing.

0 Replies