Portability | portable |
---|---|
Stability | provisional |
Maintainer | Sigbjorn Finne <sof@galois.com> |
Safe Haskell | None |
Network.Curl.Post
Description
Representing and marshalling formdata (as part of POST uploads/submissions.) If you are only looking to submit a sequence of name=value pairs, you are better off using the CurlPostFields constructor; much simpler.
Documentation
data Content
Constructors
ContentFile FilePath | |
ContentBuffer (Ptr CChar) Long | |
ContentString String |
multiformString :: String -> String -> HttpPost
marshallPosts :: [HttpPost] -> IO (Ptr HttpPost)
marshallPost :: HttpPost -> IO (Ptr HttpPost)
curl_slist_free :: Ptr Slist_ -> IO ()
curl_formfree :: Ptr a -> IO ()