This is a Proxy Server for Node.js submitted as the pre-work requirement for CodePath.
Time spent: [5]
Completed:
- Required: Requests to port
8000are echoed back with the same HTTP headers and body - Required: Requests/reponses are proxied to/from the destination server
- Required: The destination server is configurable via the
--host,--portor--urlarguments - Required: The destination server is configurable via the
x-destination-urlheader - Required: Client requests and respones are printed to stdout
- Required: The
--logfileargument outputs all logs to the file specified instead of stdout - [] Optional: The
--execargument proxies stdin/stdout to/from the destination program - [] Optional: The
--loglevelargument sets the logging chattiness - [] Optional: Supports HTTPS
- [] Optional:
-hargument prints CLI API
