Portability | so-so |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@forkIO.com> |
Simple GET/de-ref of URLs; abstracting out networking backend/package.
- readContentsURL :: URLString -> IO String
- readUserContentsURL :: Maybe AuthUser -> Bool -> Bool -> URLString -> [(String, String)] -> IO ([(String, String)], String)
- postContentsURL :: Maybe AuthUser -> URLString -> [(String, String)] -> [Cookie] -> String -> IO ([Cookie], [(String, String)], String)
- data AuthUser = AuthUser {}
- nullAuthUser :: AuthUser
- data Cookie
- addDefaultHeaders :: Int -> [(String, String)] -> [(String, String)]
Documentation
readUserContentsURL :: Maybe AuthUser -> Bool -> Bool -> URLString -> [(String, String)] -> IO ([(String, String)], String)Source
postContentsURL :: Maybe AuthUser -> URLString -> [(String, String)] -> [Cookie] -> String -> IO ([Cookie], [(String, String)], String)Source
data Cookie
Cookie
is the Haskell representation of HTTP cookie values.
See its relevant specs for authoritative details.