Safe Haskell | None |
---|---|
Language | Haskell2010 |
- makeConn :: FromJSON b => Config -> String -> StdMethod -> ByteString -> [ByteString] -> IO (Either ErrorMsg b)
- checkServiceStatus :: Config -> IO ServiceStatus
Documentation
:: FromJSON b | |
=> Config | API config |
-> String | URL endpoint |
-> StdMethod | HTTP method |
-> ByteString | parameter name; |
-> [ByteString] | parameter values |
-> IO (Either ErrorMsg b) |
Make call to API endpoint, send parameter and get answer
:: Config | Config |
-> IO ServiceStatus |
Check service status. We cannot do it usual way by calling makeConn