Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
requestManagerOverride :: Request -> Maybe Managerhttp-client Network.HTTP.Client.Internal A Manager value that should override whatever Manager value was passed in to the HTTP request function manually. This is useful when dealing with implicit global managers, such as in Network.HTTP.Simple
requestVersion :: Request -> HttpVersionhttp-client Network.HTTP.Client.Internal HTTP version to send to server. Default: HTTP 1.1 Since 0.4.3
responseOriginalRequest :: Response body -> Requesthttp-client Network.HTTP.Client.Internal Holds original Request related to this Response (with an empty body). This field is intentionally not exported directly, but made available via getOriginalRequest instead. Since 0.7.8
setRequestCheckStatus :: Request -> Requesthttp-client Network.HTTP.Client.Internal Modify the request so that non-2XX status codes generate a runtime StatusCodeException, by using throwErrorStatusCodes
setRequestIgnoreStatus :: Request -> Requesthttp-client Network.HTTP.Client.Internal Modify the request so that non-2XX status codes do not generate a runtime StatusCodeException.
-
http-client Network.HTTP.Client.MultipartFormData Construct a Part from form name, filepath and a RequestBody
partFileRequestBody "who_calls" "caller.json" $ RequestBodyBS "{\"caller\":\"Jason J Jason\"}"-- empty upload form partFileRequestBody "file" mempty mempty
The Part does not have a content type associated with it. partFileRequestBodyM :: Text -> FilePath -> m RequestBody -> PartM mhttp-client Network.HTTP.Client.MultipartFormData Construct a Part from action returning the RequestBody
partFileRequestBodyM "cat_photo" "haskell-the-cat.jpg" $ do size <- fromInteger <$> withBinaryFile "haskell-the-cat.jpg" ReadMode hFileSize return $ RequestBodySource size $ CB.sourceFile "haskell-the-cat.jpg" $= CL.map fromByteString
The Part does not have a content type associated with it.getSeqOf :: Get a -> Get (Seq a)cereal Data.Serialize.Get Get a sequence in the following format: Word64 (big endian format) element 1 ... element n
putSeqOf :: Putter a -> Putter (Seq a)cereal Data.Serialize.Put No documentation available.
type
ReqBody = ReqBody' '[Required, Strict]gogol-core Gogol.Prelude Extract the request body as a value of type a. Example:
>>> -- POST /books >>> type MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book