|
| Network.Browser | | Portability | non-portable (not tested) | | Stability | experimental | | Maintainer | bjorn@bringert.net |
|
|
|
| Description |
| An HTTP/1.1 compatible wrapper for the HTTP module.
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data BrowserState |
Instances | |
|
|
| data BrowserAction a |
Instances | |
|
|
| data Cookie |
Instances | |
|
|
| data Form |
|
|
| data Proxy |
| Constructors | | NoProxy | | | Proxy String (Maybe Authority) | |
|
|
|
| browse :: BrowserAction a -> IO a |
| Apply a browser action to a state.
|
|
| setAllowRedirects :: Bool -> BrowserAction () |
|
| getAllowRedirects :: BrowserAction Bool |
|
| setCookieFilter :: (URI -> Cookie -> IO Bool) -> BrowserAction () |
|
| addCookie :: Cookie -> BrowserAction () |
| Adds a cookie to the browser state, removing duplicates.
|
|
| setErrHandler :: (String -> IO ()) -> BrowserAction () |
|
| setOutHandler :: (String -> IO ()) -> BrowserAction () |
|
| setProxy :: Proxy -> BrowserAction () |
|
| setDebugLog :: Maybe String -> BrowserAction () |
|
| out :: String -> BrowserAction () |
|
| err :: String -> BrowserAction () |
|
| ioAction :: IO a -> BrowserAction a |
| Do an io action
|
|
| formToRequest :: Form -> Request |
|
| uriDefaultTo :: URI -> URI -> URI |
| Returns a URI that is consistent with the first
argument uri when read in the context of a second.
If second argument is not sufficient context for
determining a full URI then anarchy reins.
|
|
| uriTrimHost :: URI -> URI |
|
| Produced by Haddock version 0.8 |