A purely-functional library for HTTP server and client development.
A high-performance, purely-functional library for generating servers, type-safe clients, and rich API documentation from a single type-safe service definition.
Scalaz HTTP is a principled functional programming library for building typesafe web applications. The library is focused on composability and scalability. Unlike most other libraries, Scalaz HTTP creates clients and documentation from a single server definition.
- Type-safe client and documentation generation
- Type-safe, purely-functional design that works beautifully with Scalaz
- No macros, runtime reflection, or compiler plug-ins
Http4s | Akka-Http | Finch | Rho1 | Typedapi | |
---|---|---|---|---|---|
purely functional | β | π | π | β | β |
no macros or reflection | β | π | π | π | π2 |
scalaz compatability | π | π | π | π | β3 |
client generation | π | π | π | π | β |
documentation generation | π | π | π | π | π |
1 Rho is a DSL for creating HTTP endpoints with Http4s
2 Typedapi relies on shapeless, therefore uses Macros indirectly
3 Typedapi is independent of any HTTP/library implementation