Merge pull request #29 from zerobuzz/export-toApplication-fun
Export `toApplication` from Server.
This commit is contained in:
commit
5f6c981d80
1 changed files with 4 additions and 2 deletions
|
@ -4,12 +4,14 @@
|
||||||
-- | This module lets you implement 'Server's for defined APIs. You'll
|
-- | This module lets you implement 'Server's for defined APIs. You'll
|
||||||
-- most likely just need 'serve'.
|
-- most likely just need 'serve'.
|
||||||
module Servant.Server
|
module Servant.Server
|
||||||
( -- * Implementing an API
|
( -- * Run a wai application from an API
|
||||||
serve
|
serve
|
||||||
|
|
||||||
|
, -- * Construct a wai Application from an API
|
||||||
|
toApplication
|
||||||
|
|
||||||
, -- * Handlers for all standard combinators
|
, -- * Handlers for all standard combinators
|
||||||
HasServer(..)
|
HasServer(..)
|
||||||
|
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import Data.Proxy (Proxy)
|
import Data.Proxy (Proxy)
|
||||||
|
|
Loading…
Reference in a new issue