DEV Community

Discussion on: Intercepting HTTP Requests with NodeJS

Collapse
 
kettanaito profile image
Artem Zakharchenko

Thank you for writing this, Henry!

An interception predicate is, actually, an interesting idea. The interceptors library was intentionally designed to capture all outgoing traffic and delegate any kind of predicates to the higher scope (you). I'm curious if there'd be any performance boost was there some preliminary predicate applied.