úÎLH     None1OV]Û6Value indicating that the http proxy will not be used.9A string containing an IP address, for display to a user.NValue indicating that a connection was restricted, and giving the reason why.HConfiguration of which HTTP connections to allow and which to restrict.NDecide if a HTTP connection is allowed based on the IP address of the server.¡After the restriction is checked, the same IP address is used to connect to the server. This avoids DNS rebinding attacks being used to bypass the restriction. Í myRestriction :: Restriction myRestriction = addressRestriction $ \addr -> if isPrivateAddress addr then Just $ connectionRestricted ("blocked connection to private IP address " ++) else NothingoConstructs a ConnectionRestricted, passing the function a string containing the IP address of the HTTP server.EMakes a TLS-capable ManagerSettings with a Restriction applied to it.]The Restriction will be checked each time a Request is made, and for each redirect followed.CAside from checking the Restriction, it should behave the same as  from http-client-tls. â main = do manager <- newManager . fst =<< mkRestrictedManagerSettings myRestriction Nothing Nothing request <- parseRequest "http://httpbin.org/get" response <- httpLbs request manager print $ responseBody response¾The HTTP proxy is also checked against the Restriction, and will not be used if the Restriction does not allow it. Just ProxyRestricted is returned when the HTTP proxy has been restricted.See ( for why it can be useful to provide a .!Note that SOCKS is not supported. 4mempty does not restrict HTTP connections in any way       3http-client-restricted-0.0.1-BYg44eBRisUGKugQzpw089Network.HTTP.Client.RestrictedProxyRestricted IPAddrStringConnectionRestricted RestrictionaddressRestrictionconnectionRestrictedmkRestrictedManagerSettings$fExceptionConnectionRestricted$fSemigroupRestriction$fMonoidRestriction$fShowConnectionRestricted$fShowProxyRestricted.http-client-tls-0.3.5.3-IM6usC503X8LETejne6DbuNetwork.HTTP.Client.TLSmkManagerSettingsContext'connection-0.2.8-IcfWJCzAdTw4dsHif1Gs18Network.Connection.TypesConnectionContext_addressRestriction