@hackage strelka2.0.5
A simple, flexible and composable web-router
Categories
License
MIT
Maintainer
Nikita Volkov <nikita.y.volkov@mail.ru>
Links
Versions
Deprecated
Dependencies (21)
- attoparsec >=0.13 && <0.14
- attoparsec-data >=1.0.4 && <1.1
- base <5
- base-prelude <2
- base64-bytestring >=1 && <2
- bifunctors >=5 && <6 Show all…
Dependents (2)
@hackage/acme-everything, @hackage/strelka-wai
An HTTP server can be defined as a request parser, which produces a response, while managing the application state. As simple as that. This library exploits that fact to produce a very simple and flexible API, which can be executed on top of any specific HTTP-server implementation (e.g., Warp).
- Library Structure
- The API is split into a set of DSLs targeted at solving specific problems in isolation, thus facilitating a proper separation of concerns.
- Server Bindings
- Currently only a binding to WAI and Warp is known: http://hackage.haskell.org/package/strelka-wai.
- Demo
- For a thorough demonstration of the library and suggested usage patterns check out the following project: https://github.com/nikita-volkov/strelka-demo.