Safe Haskell | None |
---|---|
Language | Haskell2010 |
Miscellaneous routes
Documentation
data MiscRequest a where Source #
Instances
Request (MiscRequest a) Source # | |
Defined in Calamity.HTTP.MiscRoutes type Result (MiscRequest a) Source # route :: MiscRequest a -> Route Source # action :: MiscRequest a -> Options -> String -> IO (Response ByteString) Source # invoke :: forall (r :: [(Type -> Type) -> Type -> Type]). (BotC r, FromJSON (Result (MiscRequest a))) => MiscRequest a -> Sem r (Either RestError (Result (MiscRequest a))) Source # | |
type Result (MiscRequest a) Source # | |
Defined in Calamity.HTTP.MiscRoutes |