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.

  1. requestManagerOverride :: Request -> Maybe Manager

    http-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

  2. requestVersion :: Request -> HttpVersion

    http-client Network.HTTP.Client.Internal

    HTTP version to send to server. Default: HTTP 1.1 Since 0.4.3

  3. responseOriginalRequest :: Response body -> Request

    http-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

  4. setRequestCheckStatus :: Request -> Request

    http-client Network.HTTP.Client.Internal

    Modify the request so that non-2XX status codes generate a runtime StatusCodeException, by using throwErrorStatusCodes

  5. setRequestIgnoreStatus :: Request -> Request

    http-client Network.HTTP.Client.Internal

    Modify the request so that non-2XX status codes do not generate a runtime StatusCodeException.

  6. partFileRequestBody :: forall (m :: Type -> Type) . Applicative m => Text -> FilePath -> RequestBody -> PartM m

    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.

  7. partFileRequestBodyM :: Text -> FilePath -> m RequestBody -> PartM m

    http-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.

  8. 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

  9. putSeqOf :: Putter a -> Putter (Seq a)

    cereal Data.Serialize.Put

    No documentation available.

  10. 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
    

Page 164 of many | Previous | Next