Îõ³h&W      Safe-Inferred6Üãéhttp-client-restricted6Value indicating that the http proxy will not be used.http-client-restricted9A string containing an IP address, for display to a user.http-client-restrictedÎValue indicating that a connection was restricted, and giving the reason why.http-client-restrictedÈConfiguration of which HTTP connections to allow and which to restrict.http-client-restrictedÎDecide 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 Nothinghttp-client-restrictedïConstructs a ConnectionRestricted, passing the function a string containing the IP address of the HTTP server. http-client-restrictedÅMakes 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.ÃAside 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. http-client-restricted4mempty does not restrict HTTP connections in any way        3http-client-restricted-0.1.0-IVxP2JoBIFiLdPSLeSRKQGNetwork.HTTP.Client.RestrictedProxyRestricted IPAddrStringConnectionRestricted RestrictioncheckAddressRestrictionaddressRestrictionconnectionRestrictedmkRestrictedManagerSettings$fExceptionConnectionRestricted$fSemigroupRestriction$fMonoidRestriction$fShowProxyRestricted$fShowConnectionRestricted.http-client-tls-0.3.6.2-HoQ5ISO6CcM2feYdEAC4F0Network.HTTP.Client.TLSmkManagerSettingsContext/crypton-connection-0.3.1-HORRw762LIE3nU0V4DKMB1Network.Connection.TypesConnectionContext