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
|
||||
-- most likely just need 'serve'.
|
||||
module Servant.Server
|
||||
( -- * Implementing an API
|
||||
( -- * Run a wai application from an API
|
||||
serve
|
||||
|
||||
, -- * Construct a wai Application from an API
|
||||
toApplication
|
||||
|
||||
, -- * Handlers for all standard combinators
|
||||
HasServer(..)
|
||||
|
||||
) where
|
||||
|
||||
import Data.Proxy (Proxy)
|
||||
|
|
Loading…
Reference in a new issue