const proxy = new ProxyHost(); proxy .from('http://backend-service:8080') .map(req => req.headers['X-Processed-By'] = 'scramjet-proxy'; return req; ) .to('http://destination-api:9090');
For most applications, a standard proxy is safer and simpler. But where microseconds matter and streams are massive, the scramjet design is the right tool. scramjet proxy work