Poq.SDK.Node

Home > @poq/proxy-middleware > ProxyMiddlewareFactory > createPureProxyMiddleware

ProxyMiddlewareFactory.createPureProxyMiddleware() method

Method creates simple proxy middleware to bypass requests from intermediate server to Poq platform.

Signature:

static createPureProxyMiddleware(options?: ProxyMiddlewareOptions): IMiddlewareHandler;

Parameters

Parameter Type Description
options ProxyMiddlewareOptions (Optional) Proxy handler option to tune target, cookie path and other settings

Returns:

IMiddlewareHandler

Middleware handler for proxying requests.

Remarks

This method creates simple middleare: no header validator and sanitizer.