An open API service indexing awesome lists of open source software.

https://github.com/maxlorenz/webserver-fsharp

Simple Webserver in F#
https://github.com/maxlorenz/webserver-fsharp

Last synced: about 1 year ago
JSON representation

Simple Webserver in F#

Awesome Lists containing this project

README

          

# webserver-fsharp

A simple webserver in F#. It's purpose is to create a REST Api fast.

## Example usage
``` fsharp
Webserver.listen
"localhost"
8000
"404, site not found!"
[
"", fun _ -> "status"
"/categories", fun _ -> "list of all categories: ..."
"/applications", fun _ -> "list of all applications: ..."
"/categories/{{name}}", fun x -> sprintf "requested %s" x.["name"].Value
// ...
]
```