https://github.com/agrafix/fastagi
Haskell Framework for creating FastAGI Servers
https://github.com/agrafix/fastagi
Last synced: 5 months ago
JSON representation
Haskell Framework for creating FastAGI Servers
- Host: GitHub
- URL: https://github.com/agrafix/fastagi
- Owner: agrafix
- License: mit
- Created: 2013-10-06T22:40:16.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-06T23:12:15.000Z (over 12 years ago)
- Last Synced: 2025-03-08T20:48:56.352Z (over 1 year ago)
- Language: Haskell
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FastAGI
=======
Haskell Framework for creating FastAGI Servers
## Work in Progress
This framework still needs some work. If you want to help, then implement any function listed [here](http://www.voip-info.org/wiki/view/Asterisk%20AGI).
## Example
```haskell
example =
startServer $
do answer
digit <- waitForDigit Nothing
case digit of
Just (AGISuccess One) ->
liftIO $ putStrLn ("Someone pressed 1!")
_ ->
liftIO $ putStrLn ("Other number")
hangup Nothing
```