Îõ³h*X]%      !"#$0.6.0.3 Safe-Inferred "<ÃÅÆÕÝäéhttp-reverse-proxy(How to set the X-Real-IP request header.http-reverse-proxyDo not set the headerhttp-reverse-proxy!Set it from the socket's address.http-reverse-proxy;Set it from either X-Real-IP or X-Forwarded-For, if presenthttp-reverse-proxy>Set the X-Real-IP request header with the client's IP address.Default: SIHFromSockethttp-reverse-proxyñPost-process the response body returned from the host. The API for this function changed to include the extra % parameter in version 0.5.0. http-reverse-proxyÂDetermine if the request should be upgraded to a raw proxy connection, as is needed for WebSockets. Requires WAI 2.1 or higher and a WAI handler with raw response support (e.g., Warp) to work.2Default: check if the upgrade header is websocket. http-reverse-proxy’Allow to override proxy settings for each request. If you supply this field it will take precedence over getDest parameter in waiProxyToSettings Default: have one global setting http-reverse-proxyFunction provided to log the Request that is constructed.Default: no op&http-reverse-proxyÒAllows to specify the maximum time allowed for the conection on per request basis.Default: no timeouts http-reverse-proxy5The different responses that could be generated by a  waiProxyTo lookup function.http-reverse-proxy$Respond with the given WAI Response.http-reverse-proxySend to the given destination.http-reverse-proxy(Send to the given destination via HTTPS.http-reverse-proxy¶Send to the given destination, but use the given modified Request for computing the reverse-proxied request. This can be useful for reverse proxying to a different path than the one specified. By the user. The path will be taken from rawPathInfo while the queryString from rawQueryString of the request.http-reverse-proxyÈSame as WPRModifiedRequest but send to the given destination via HTTPS.http-reverse-proxy'Respond with the given WAI Application.http-reverse-proxy0Host/port combination to which we want to proxy.http-reverse-proxyÂSet up a reverse proxy server, which will have a minimal overhead.ßThis function uses raw sockets, parsing as little of the request as possible. The workflow is:  Parse the first request headers.:Ask the supplied function to specify how to reverse proxy.,Open up a connection to the given host/port.)Pass all bytes across the wire unchanged.ÉIf you need more control, such as modifying the request or response, use .http-reverse-proxyÆSet up a reverse tcp proxy server, which will have a minimal overhead.ßThis function uses raw sockets, parsing as little of the request as possible. The workflow is: ,Open up a connection to the given host/port.)Pass all bytes across the wire unchanged.ÉIf you need more control, such as modifying the request or response, use .http-reverse-proxyÑSends a simple 502 bad gateway error message with the contents of the exception.http-reverse-proxyCreates a WAI '# which will handle reverse proxies.¢Connections to the proxied server will be provided via http-conduit. As such, all requests and responses will be fully processed in your reverse proxy. This allows you much more control over the data sent over the wire, but also incurs overhead. For a lower-overhead approach, consider .óMost likely, the given application should be run with Warp, though in theory other WAI handlers will work as well.ìNote: This function will use chunked request bodies for communicating with the proxied server. Not all servers necessarily support chunked request bodies, so please confirm that yours does (Warp, Snap, and Happstack, for example, do).http-reverse-proxyDefault value for   , same as def but with a more explicit name.http-reverse-proxyÒAllows to specify the maximum time allowed for the conection on per request basis.Default: no timeoutshttp-reverse-proxyDefault value for (http-reverse-proxy½Introduce a minor level of caching to handle some basic retry cases inside http-client. But to avoid a DoS attack, don't cache more than 65535 bytes (the theoretical max TCP packet size).See: Ëhttps://github.com/fpco/http-reverse-proxy/issues/34#issuecomment-719136064)http-reverse-proxyëGet the HTTP headers for the first request on the stream, returning on consumed bytes as leftovers. Has built-in limits on how many bytes it will consume (specifically, will not ask for another chunked after it receives 1000 bytes).http-reverse-proxyHow to reverse proxy. A Left result will run the given  , whereas a Right, will reverse proxy to the given host/port.http-reverse-proxyHow to reverse proxy.http-reverse-proxy×How to handle exceptions when calling remote server. For a simple 502 error page, use .http-reverse-proxyconnection manager to utilize         Safe-InferredP*+,-./012      !"#$%&'()*+,-*./01234567891http-reverse-proxy-0.6.0.3-HSNfO7fIq9BHX0XhUdGCQXNetwork.HTTP.ReverseProxyhttp-reverse-proxyDCN ApplicationPaths_http_reverse_proxy SetIpHeaderSIHNone SIHFromSocket SIHFromHeaderWaiProxySettingswpsOnExc wpsTimeoutwpsSetIpHeaderwpsProcessBodywpsUpgradeToRaw wpsGetDest wpsLogRequestLocalWaiProxySettingsWaiProxyResponse WPRResponse WPRProxyDestWPRProxyDestSecureWPRModifiedRequestWPRModifiedRequestSecureWPRApplication ProxyDestpdHostpdPort rawProxyTo rawTcpProxyTo defaultOnExc waiProxyTodefaultLocalWaiProxySettingssetLpsTimeBounddefaultWaiProxySettingswaiProxyToSettings$fReadProxyDest$fShowProxyDest $fEqProxyDest$fOrdProxyDest$fGenericProxyDest wai-3.2.4-Ga3q3tQ4yYDKO5M7rSIIi6Network.Wai.InternalRequest lpsTimeBound Network.WaisemiCachedBody getHeadersversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDirgetDataFileName getSysconfDir