Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. performWithStreamingRequest :: Request -> (StreamingResponse -> IO a) -> ClientM a

    servant-client Servant.Client.Internal.HttpClient.Streaming

    TODO: support UVerb (acceptStatus argument, like in performRequest above).

  2. defaultMakeClientRequest :: Applicative f => BaseUrl -> Request -> f Request

    servant-client Servant.Client.Streaming

    Create a http-client Request from a servant Request The host, path and port fields are extracted from the BaseUrl otherwise the body, headers and query string are derived from the servant Request Note that Applicative dependency is not really needed for this function implementation. But in the past the return type was wrapped into IO without a necessity breaking the API backward-compatibility. In order to not break the API again it was changed to Applicative so that you can just use something like Data.Functor.Identity without a need to involve IO but still keeping it compatible with the code written when it was typed as IO.

  3. makeClientRequest :: ClientEnv -> BaseUrl -> Request -> IO Request

    servant-client Servant.Client.Streaming

    this function can be used to customize the creation of http-client requests from servant requests. Default value: defaultMakeClientRequest Note that: 1. makeClientRequest exists to allow overriding operational semantics e.g. responseTimeout per request, If you need global modifications, you should use managerModifyRequest 2. the cookieJar, if defined, is being applied after makeClientRequest is called.

  4. RequiredKeyCodec :: forall input input1 output output1 . (Coercible input input1, Coercible output output1) => Text -> ValueCodec input1 output1 -> Maybe Text -> Codec (KeyMap Value) input output

    autodocodec Autodocodec

    No documentation available.

  5. requiredField :: HasCodec output => Text -> Text -> ObjectCodec output output

    autodocodec Autodocodec

    A required field During decoding, the field must be in the object. During encoding, the field will always be in the object. See requiredFieldWith

  6. requiredField' :: HasCodec output => Text -> ObjectCodec output output

    autodocodec Autodocodec

    Like requiredField, but without documentation

  7. requiredFieldWith :: Text -> ValueCodec input output -> Text -> ObjectCodec input output

    autodocodec Autodocodec

    A required field During decoding, the field must be in the object. During encoding, the field will always be in the object.

  8. requiredFieldWith' :: Text -> ValueCodec input output -> ObjectCodec input output

    autodocodec Autodocodec

    Like requiredFieldWith, but without documentation.

  9. requiredField :: HasCodec output => Text -> Text -> ObjectCodec output output

    autodocodec Autodocodec.Class

    A required field During decoding, the field must be in the object. During encoding, the field will always be in the object. See requiredFieldWith

  10. requiredField' :: HasCodec output => Text -> ObjectCodec output output

    autodocodec Autodocodec.Class

    Like requiredField, but without documentation

Page 272 of many | Previous | Next