Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setAllowBasicAuth :: Bool -> BrowserAction t ()HTTP Network.Browser setAllowBasicAuth onOff enables/disables HTTP Basic Authentication.
setAllowRedirects :: Bool -> BrowserAction t ()HTTP Network.Browser setAllowRedirects onOff toggles the willingness to follow redirects (HTTP responses with 3xx status codes).
setAuthorities :: [Authority] -> BrowserAction t ()HTTP Network.Browser No documentation available.
setAuthorityGen :: (URI -> String -> IO (Maybe (String, String))) -> BrowserAction t ()HTTP Network.Browser setAuthorityGen genAct sets the auth generator to genAct.
setCheckForProxy :: Bool -> BrowserAction t ()HTTP Network.Browser setCheckForProxy flg sets the one-time check for proxy flag to flg. If True, the session will try to determine the proxy server is locally configured. See fetchProxy for details of how this done.
setCookieFilter :: (URI -> Cookie -> IO Bool) -> BrowserAction t ()HTTP Network.Browser setCookieFilter fn sets the cookie acceptance filter to fn.
setCookies :: [Cookie] -> BrowserAction t ()HTTP Network.Browser setCookies cookies replaces the set of cookies known to the browser to cookies. Useful when wanting to restore cookies used across browse invocations.
setDebugLog :: Maybe String -> BrowserAction t ()HTTP Network.Browser setDebugLog mbFile turns off debug logging iff mbFile is Nothing. If set to Just fStem, logs of browser activity is appended to files of the form fStem-url-authority, i.e., fStem is just the prefix for a set of log files, one per host/authority.
setErrHandler :: (String -> IO ()) -> BrowserAction t ()HTTP Network.Browser setErrHandler sets the IO action to call when the browser reports running errors. To disable any such, set it to const (return ()).
setEventHandler :: Maybe (BrowserEvent -> BrowserAction ty ()) -> BrowserAction ty ()HTTP Network.Browser setEventHandler onBrowserEvent configures event handling. If onBrowserEvent is Nothing, event handling is turned off; setting it to Just onEv causes the onEv IO action to be notified of browser events during the processing of a request by the Browser pipeline.