http-client 0.3.4 → 0.3.5
raw patch · 3 files changed
+5/−5 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Network.HTTP.Client.Internal: Manager :: IORef (Maybe (Map ConnKey (NonEmptyList Connection))) -> Int -> Maybe Int -> (Maybe HostAddress -> String -> Int -> IO Connection) -> (Maybe HostAddress -> String -> Int -> IO Connection) -> (ByteString -> (Connection -> IO ()) -> Maybe HostAddress -> String -> Int -> IO Connection) -> (SomeException -> Bool) -> (forall a. IO a -> IO a) -> Manager
+ Network.HTTP.Client.Internal: Manager :: IORef (Maybe (Map ConnKey (NonEmptyList Connection))) -> Int -> Maybe Int -> (Maybe HostAddress -> String -> Int -> IO Connection) -> (Maybe HostAddress -> String -> Int -> IO Connection) -> (ByteString -> (Connection -> IO ()) -> String -> Maybe HostAddress -> String -> Int -> IO Connection) -> (SomeException -> Bool) -> (forall a. IO a -> IO a) -> Manager
- Network.HTTP.Client.Internal: ManagerSettings :: Int -> IO (Maybe HostAddress -> String -> Int -> IO Connection) -> IO (Maybe HostAddress -> String -> Int -> IO Connection) -> IO (ByteString -> (Connection -> IO ()) -> Maybe HostAddress -> String -> Int -> IO Connection) -> Maybe Int -> (SomeException -> Bool) -> (forall a. IO a -> IO a) -> ManagerSettings
+ Network.HTTP.Client.Internal: ManagerSettings :: Int -> IO (Maybe HostAddress -> String -> Int -> IO Connection) -> IO (Maybe HostAddress -> String -> Int -> IO Connection) -> IO (ByteString -> (Connection -> IO ()) -> String -> Maybe HostAddress -> String -> Int -> IO Connection) -> Maybe Int -> (SomeException -> Bool) -> (forall a. IO a -> IO a) -> ManagerSettings
- Network.HTTP.Client.Internal: mTlsProxyConnection :: Manager -> ByteString -> (Connection -> IO ()) -> Maybe HostAddress -> String -> Int -> IO Connection
+ Network.HTTP.Client.Internal: mTlsProxyConnection :: Manager -> ByteString -> (Connection -> IO ()) -> String -> Maybe HostAddress -> String -> Int -> IO Connection
- Network.HTTP.Client.Internal: managerTlsProxyConnection :: ManagerSettings -> IO (ByteString -> (Connection -> IO ()) -> Maybe HostAddress -> String -> Int -> IO Connection)
+ Network.HTTP.Client.Internal: managerTlsProxyConnection :: ManagerSettings -> IO (ByteString -> (Connection -> IO ()) -> String -> Maybe HostAddress -> String -> Int -> IO Connection)
Files
Network/HTTP/Client/Manager.hs view
@@ -55,7 +55,7 @@ { managerConnCount = 10 , managerRawConnection = return openSocketConnection , managerTlsConnection = return $ \_ _ _ -> throwIO TlsNotSupported- , managerTlsProxyConnection = return $ \_ _ _ _ _ -> throwIO TlsNotSupported+ , managerTlsProxyConnection = return $ \_ _ _ _ _ _ -> throwIO TlsNotSupported , managerResponseTimeout = Just 30000000 , managerRetryableException = \e -> case fromException e of@@ -361,4 +361,4 @@ sh@(StatusHeaders status _ _) <- parseStatusHeaders conn unless (status == status200) $ throwIO $ ProxyConnectException ultHost ultPort $ Left $ S8.pack $ show sh- in mTlsProxyConnection m connstr parse+ in mTlsProxyConnection m connstr parse (S8.unpack ultHost)
Network/HTTP/Client/Types.hs view
@@ -458,7 +458,7 @@ -- ^ Create a TLS connection. Default behavior: throw an exception that TLS is not supported. -- -- Since 0.1.0- , managerTlsProxyConnection :: IO (S.ByteString -> (Connection -> IO ()) -> Maybe NS.HostAddress -> String -> Int -> IO Connection)+ , managerTlsProxyConnection :: IO (S.ByteString -> (Connection -> IO ()) -> String -> Maybe NS.HostAddress -> String -> Int -> IO Connection) -- ^ Create a TLS proxy connection. Default behavior: throw an exception that TLS is not supported. -- -- Since 0.2.2@@ -500,7 +500,7 @@ -- ^ Copied from 'managerResponseTimeout' , mRawConnection :: Maybe NS.HostAddress -> String -> Int -> IO Connection , mTlsConnection :: Maybe NS.HostAddress -> String -> Int -> IO Connection- , mTlsProxyConnection :: S.ByteString -> (Connection -> IO ()) -> Maybe NS.HostAddress -> String -> Int -> IO Connection+ , mTlsProxyConnection :: S.ByteString -> (Connection -> IO ()) -> String -> Maybe NS.HostAddress -> String -> Int -> IO Connection , mRetryableException :: SomeException -> Bool , mWrapIOException :: forall a. IO a -> IO a }
http-client.cabal view
@@ -1,5 +1,5 @@ name: http-client-version: 0.3.4+version: 0.3.5 synopsis: An HTTP client engine, intended as a base layer for more user-friendly packages. description: This codebase has been refactored from http-conduit. homepage: https://github.com/snoyberg/http-client