The one-liner node.js proxy middleware for connect, express, next.js and more
92
Pending
Does it follow best practices?
Impact
92%
1.24xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
Build a proxy server that forwards HTTP and WebSocket traffic to multiple backend services with external WebSocket upgrade handling and comprehensive event monitoring.
Create a proxy server that:
X-Forwarded-For to WebSocket upgrade requests before forwardinghttp://localhost:4000ws://localhost:40013000/api/* should be forwarded via HTTP/chat should be forwarded via WebSocket@generates
/**
* Creates and starts a proxy server that handles both HTTP and WebSocket traffic.
* Returns the server instance for testing purposes.
*
* @returns {http.Server} The HTTP server instance
*/
function startProxyServer();Provides proxy middleware functionality for HTTP and WebSocket connections with lifecycle event handling.
@satisfied-by
Provides web server framework for handling HTTP requests.
@satisfied-by
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10