Popularity
3.4
Declining
Activity
0.0
Stable
1
4
0
Monthly Downloads: 10
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
io-streams-http alternatives and similar packages
Based on the "io" category.
Alternatively, view io-streams-http alternatives based on common mentions on social networks and blogs.
-
io-streams
Simple, composable, and easy-to-use stream I/O for Haskell -
io-streams-haproxy
HAProxy protocol v1.5 support for io-streams -
io-storage
A Program-Global Key-Value Store Inside the IO Monad
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
Promo
www.onlyoffice.com
Do you think we are missing an alternative of io-streams-http or a related project?
README
io-streams-http

http-client-tls meets io-streams
http-client usage
module Main where
import System.IO.Streams (InputStream, OutputStream)
import qualified System.IO.Streams as Streams
import System.IO.Streams.HTTP
import Network.HTTP.Client
main :: IO ()
main = do
req <- parseUrl "http://google.com"
withManager defaultManagerSettings $ \m ->
withHTTP req m $ \resp -> do
Streams.supplyTo Streams.stdout (responseBody resp)
http-client-tls usage
module Main where
import System.IO.Streams ( InputStream, OutputStream )
import qualified System.IO.Streams as Streams
import System.IO.Streams.HTTP ( withHTTP, parseUrl, withManager )
import Network.HTTP.Client.TLS ( tlsManagerSettings )
import Network.HTTP.Client ( responseBody )
main :: IO ()
main = do
req <- parseUrl "http://google.com"
withManager tlsManagerSettings $ \m ->
withHTTP req m $ \resp -> do
Streams.supplyTo Streams.stdout (responseBody resp)