Safe Haskell | None |
---|---|
Language | Haskell2010 |
Miscellaneous routes
Documentation
data MiscRequest a where Source #
Instances
Request (MiscRequest a) a Source # | |
Defined in Calamity.HTTP.MiscRoutes toRoute :: MiscRequest a -> Route Source # url :: MiscRequest a -> String Source # toAction :: MiscRequest a -> Options -> String -> IO (Response ByteString) Source # invokeRequest :: (BotC reffs, FromJSON a) => MiscRequest a -> Sem reffs (Either RestError a) Source # |