jaguar_dev_proxy library

Provides getOnlyProxy to reverse proxy certain selected requests to another server. This is similar to Nginx's reverse proxy.

Functions

getOnlyProxy(String path, String proxyBaseUrl, {Map<String, String>? pathRegEx, ResponseProcessor? responseProcessor, bool stripPrefix = true, String proxyName = 'jaguar_proxy', HttpClient? client}) → Route
Creates a route that proxies the requests matching the path to another server at proxyBaseUrl.