curl-1.3.5: Haskell binding to libcurlSource codeContentsIndex
Network.Curl.Post
Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sof@galois.com>
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
type Header = StringSource
data HttpPost Source
Constructors
HttpPost
postName :: String
contentType :: Maybe String
content :: Content
extraHeaders :: [Header]
showName :: Maybe String
data Content Source
Constructors
ContentFile FilePath
ContentBuffer (Ptr CChar) Long
ContentString String
multiformString :: String -> String -> HttpPostSource
sizeof_httppost :: IntSource
marshallPosts :: [HttpPost] -> IO (Ptr HttpPost)Source
marshallPost :: HttpPost -> IO (Ptr HttpPost)Source
curl_slist_append :: Ptr Slist_ -> CString -> IO (Ptr Slist_)Source
curl_slist_free :: Ptr Slist_ -> IO ()Source
curl_formfree :: Ptr a -> IO ()Source
Produced by Haddock version 2.6.1