Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | provisional |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- head' :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- delete :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- get :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- post :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- put :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- postXML :: (ToQuery a, ToPath a, ToHeaders a, ToElement a) => a -> Request a
- postJSON :: (ToQuery a, ToPath a, ToHeaders a, ToJSON a) => a -> Request a
- postQuery :: (ToQuery a, ToPath a, ToHeaders a) => a -> Request a
- postBody :: (ToPath a, ToQuery a, ToHeaders a, ToBody a) => a -> Request a
- putXML :: (ToPath a, ToQuery a, ToHeaders a, ToElement a) => a -> Request a
- putJSON :: (ToQuery a, ToPath a, ToHeaders a, ToJSON a) => a -> Request a
- putBody :: (ToPath a, ToQuery a, ToHeaders a, ToBody a) => a -> Request a
- defaultRequest :: (ToPath a, ToQuery a, ToHeaders a) => a -> Request a
- contentSHA256 :: Request a -> Request a
- contentMD5 :: Request a -> Request a
- requestHeaders :: Lens' Request RequestHeaders
- queryString :: Lens' Request ByteString
- requestURL :: ClientRequest -> ByteString
Requests
Empty body
Specialised body
Constructors
Hashing
contentSHA256 :: Request a -> Request a Source
contentMD5 :: Request a -> Request a Source