webby 0.1.2 → 0.1.3
raw patch · 3 files changed
+7/−2 lines, 3 files
Files
- src/Webby.hs +1/−0
- src/Webby/Server.hs +4/−0
- webby.cabal +2/−2
src/Webby.hs view
@@ -8,6 +8,7 @@ , post , get , put+ , delete -- * Captures , Captures
src/Webby/Server.hs view
@@ -259,3 +259,7 @@ -- and handler. put :: Text -> WebbyM appEnv () -> (RoutePattern, WebbyM appEnv ()) put = mkRoute methodPut++-- | Create a route for a DELETE request method, given path pattern and handler.+delete :: Text -> WebbyM appEnv () -> (RoutePattern, WebbyM appEnv ())+delete = mkRoute methodDelete
webby.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: f7235144640693879da4d296edf9b11b50f14f4523aabfd4005cc1a70b7c48b1+-- hash: f31e358f56cab247d8a40116ed142502fdcb0bb62c0f18ce5552dd680f8cbda4 name: webby-version: 0.1.2+version: 0.1.3 synopsis: A super-simple web server framework description: A super-simple, easy to use web server framework inspired by Scotty. The goals of the project are: (1) Be easy to use (2) Allow