úÎDA9&      !"#$%None 6<>?NV]?U(How to set the X-Real-IP request header. Since 0.2.0Do not set the header!Set it from the socket's address.;Set it from either X-Real-IP or X-Forwarded-For, if present>Set the X-Real-IP request header with the client's IP address.Default: SIHFromSocket Since 0.2.0 qPost-process the response body returned from the host. The API for this function changed to include the extra & parameter in version 0.5.0. Since 0.2.1 Â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. Since 0.3.1 ’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 Since 0.4.2'RAllows to specify the maximum time allowed for the conection on per request basis.Default: no timeouts Since 0.4.2 5The different responses that could be generated by a  waiProxyTo lookup function. Since 0.2.0$Respond with the given WAI Response. Since 0.2.0Send to the given destination. Since 0.2.0(Send to the given destination via HTTPS.Ñ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. Since 0.2.0HSame as WPRModifiedRequest but send to the given destination via HTTPS.'Respond with the given WAI Application. Since 0.4.00Host/port combination to which we want to proxy.BSet 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.IIf you need more control, such as modifying the request or response, use .FSet 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.IIf you need more control, such as modifying the request or response, use . Since 0.4.4QSends a simple 502 bad gateway error message with the contents of the exception.Creates 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 .sMost 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).Default value for   , same as  but with a more explicit name. Since 0.4.2RAllows to specify the maximum time allowed for the conection on per request basis.Default: no timeouts Since 0.4.2)ë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).How to reverse proxy. A Left result will run the given  , whereas a Right, will reverse proxy to the given host/port.How to reverse proxy.WHow to handle exceptions when calling remote server. For a simple 502 error page, use .connection manager to utilize  %    * +' SafeA,-./01234      !"#$%&'()*+,-./,01 23456789:.http-reverse-proxy-0.5.0-9nwla0LMtGaoVSbWzdlXQNetwork.HTTP.ReverseProxyDCN ApplicationPaths_http_reverse_proxy1data-default-class-0.1.2.0-8hmGYd6GPAfLQPQcWKOjRmData.Default.Classdef SetIpHeaderSIHNone SIHFromSocket SIHFromHeaderWaiProxySettingswpsOnExc wpsTimeoutwpsSetIpHeaderwpsProcessBodywpsUpgradeToRaw wpsGetDestLocalWaiProxySettingsWaiProxyResponse WPRResponse WPRProxyDestWPRProxyDestSecureWPRModifiedRequestWPRModifiedRequestSecureWPRApplication ProxyDestpdHostpdPort rawProxyTo rawTcpProxyTo defaultOnExc waiProxyTodefaultLocalWaiProxySettingssetLpsTimeBoundwaiProxyToSettings$fDefaultLocalWaiProxySettings$fDefaultWaiProxySettings$fReadProxyDest$fShowProxyDest $fEqProxyDest$fOrdProxyDest$fGenericProxyDest!wai-3.2.1.1-I4QCDMsntEPMa1Ww9t7kMNetwork.Wai.InternalRequest lpsTimeBound Network.Wai getHeadersversion getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDirgetDataFileName