Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- runWith :: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> IO ()
- runWithOpts :: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> Maybe Config -> AppOpts -> IO ()
Documentation
:: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) | |
=> BuiltinHandler a | Builtin contract handler. Can be created with |
-> IO () |
PAB entry point for a contract type a
.
:: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) | |
=> BuiltinHandler a | |
-> Maybe Config | Optional config override to use in preference to the one in AppOpts |
-> AppOpts | |
-> IO () |
Helper function to launch a complete PAB (all the necessary services)
that can be interacted over the API endpoints defined in
Server
.