http4k is a lightweight but fully-featured HTTP toolkit written in pure Kotlin that enables the serving and consuming of HTTP services in a functional and consistent way. http4k applications are just Kotlin functions. http4k consists of a lightweight core library, http4k-core, providing a base HTTP implementation and Server/Client implementations based on the JDK classes. Further servers, clients, serverless, templating, websockets capabilities are then implemented in add-on modules. http4k apps can be simply mounted into a running Server, Serverless platform, or compiled to GraalVM and run as a super-lightweight binary. Apart the from Kotlin StdLib, http4k-core module has ZERO dependencies and weighs in at ~1mb. Add-on modules only have dependencies required for specific implementation.

Features

  • Application as a Function
  • All entities in the library are immutable unless their function explicitly disallows this
  • Dependency-lite
  • Test individual endpoints
  • Apps are completely portable across deployment platform in either a Server-based, Serverless or Native binaries
  • Testability Built by TDD enthusiasts, so supports super-easy mechanisms for both in-memory and port-based testing

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow http4k

http4k Web Site

Other Useful Business Software
Easy-to-use online form builder for every business. Icon
Easy-to-use online form builder for every business.

Create online forms and publish them. Get an email for each response. Collect data.

Easy-to-use online form builder for every business. Create online forms and publish them. Get an email for each response. Collect data. Design professional looking forms with JotForm Online Form Builder. Customize with advanced styling options to match your branding. Speed up and simplify your daily work by automating complex tasks with JotForm’s industry leading features. Securely and easily sell products. Collect subscription fees and donations. Being away from your computer shouldn’t stop you from getting the information you need. No matter where you work, JotForm Mobile Forms lets you collect data offline with powerful forms you can manage from your phone or tablet. Get the full power of JotForm at your fingertips. JotForm PDF Editor automatically turns collected form responses into professional, secure PDF documents that you can share with colleagues and customers. Easily generate custom PDF files online!
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of http4k!

Additional Project Details

Programming Language

Kotlin

Related Categories

Kotlin HTTP Servers, Kotlin HTTP Clients

Registered

2023-05-11