Set of middlewares for node js connect-like libraries to create proxy middleware. The package helps to simplify the development of BFC by passing uncovered requests directly to the Poq Platform.
| Class | Description |
|---|---|
| MiddlewareError | Defines middleware error. |
| ProxyMiddlewareFactory | Factory creates proxy middleware. |
| SanitizeHeadersMiddlewareFactory | Factory creates sanitizer middleware for http headers. |
| ValidateHeadersMiddlewareFactory | Factory creates validation header middleware. |
| Interface | Description |
|---|---|
| IMiddlewareHandler | Unified middleware handler interface. |
| INextHandler | Unified next handler interface. |
| Type Alias | Description |
|---|---|
| ProxyMiddlewareOptions | Proxy options is a combination of http proxy server options plus with possibility to replace default proxy with your own. |