In http-conduit version 2.0+ I want to create a custom Manager
.
The documentation states that defaultManagerSettings
should be used in newManager
.
import Network.HTTP.Conduit
main = do manager <- newManager defaultManagerSettings
print $ content
However, when trying to run it I get the following error:
conduittest.hs:3:33:
Not in scope: `defaultManagerSettings'
Perhaps you meant `conduitManagerSettings' (imported from Network.HTTP.Conduit)
Shall I use conduitManagerSettings
instead? If not, where can I import defaultManagerSettings
from?
Note: This question intentionally does not show further research effort, because it was immediately answered in a Q&A-style manner.