HTTP as a Function

An http4k server is just a regular function that gets invoked with a Request and returns a Response.In a single line of code you can switch your server between Java (built-in), Apache, Jetty, Netty, Undertow, Ktor, Ratpack or Helidon.

An http4k client is just a regular function that you invoke with a Request and receives a Response.In a single line of code you can switch your client implementation between Java (built-in), Apache, Fuel, Jetty, and OkHttp.
Highlights
Tiny
footprint
The core library has no dependencies and it’s all you need to create fully-functional applications.http4k APIs take advantage of Kotlin features and are powered by Functional Programming techniques.
Battle-tested
in the wild
http4k takes advantage of technologies that have millions of hours of production runtime.The toolkit has been used to build high volume applications in Banking, Publishing & Government projects.
Corporate partners
http4k works with selected companies to fund and explore continued innovation around the project. If your organisation is using http4k and would like to take advantage of this program, please get in touch.