Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
app :: Application Source #
type API = (ReqBody '[JSON] Params :> Post '[OctetStream] ByteString) :<|> ((ReqBody '[JSON] Params :> Post '[PlainText] Text) :<|> ((ReqBody '[JSON] Params :> Post '[JSON] Output) :<|> (("batch" :> (ReqBody '[JSON] [Params] :> Post '[JSON] [Output])) :<|> (("babelmark" :> (QueryParam' '[Required] "text" Text :> (QueryParam "from" Text :> (QueryParam "to" Text :> (QueryFlag "standalone" :> Get '[JSON] Value))))) :<|> ("version" :> Get '[PlainText, JSON] Text))))) Source #
data ServerOpts Source #
ServerOpts | |
|
Instances
Show ServerOpts Source # | |
Defined in Text.Pandoc.Server showsPrec :: Int -> ServerOpts -> ShowS # show :: ServerOpts -> String # showList :: [ServerOpts] -> ShowS # |
parseServerOptsFromArgs :: [String] -> IO ServerOpts Source #