Home > @poq/proxy-middleware > ProxyMiddlewareFactory > createPureProxyMiddleware
Method creates simple proxy middleware to bypass requests from intermediate server to Poq platform.
Signature:
static createPureProxyMiddleware(options?: ProxyMiddlewareOptions): IMiddlewareHandler;
Parameter | Type | Description |
---|---|---|
options | ProxyMiddlewareOptions | (Optional) Proxy handler option to tune target, cookie path and other settings |
Returns:
Middleware handler for proxying requests.
This method creates simple middleare: no header validator and sanitizer.