Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- get :: Endpoint m a -> Endpoint m a
- post :: Endpoint m a -> Endpoint m a
- put :: Endpoint m a -> Endpoint m a
- patch :: Endpoint m a -> Endpoint m a
- delete :: Endpoint m a -> Endpoint m a
- head' :: Endpoint m a -> Endpoint m a
- trace' :: Endpoint m a -> Endpoint m a
- connect :: Endpoint m a -> Endpoint m a
- options :: Endpoint m a -> Endpoint m a
Documentation
get :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for GET requests
post :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for POST requests
put :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for PUT requests
patch :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for PATCH requests
delete :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for DELETE requests
head' :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for HEAD requests
trace' :: Endpoint m a -> Endpoint m a Source #
Turn endpoint into one that matches only for TRACE requests