Poq.SDK.Node

Home > @poq/proxy-middleware

proxy-middleware package

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.

Classes

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.

Interfaces

Interface Description
IMiddlewareHandler Unified middleware handler interface.
INextHandler Unified next handler interface.

Type Aliases

Type Alias Description
ProxyMiddlewareOptions Proxy options is a combination of http proxy server options plus with possibility to replace default proxy with your own.