🚧 This library as under heavy development until release of version 1.x.x
🚧
Thin kotlin HTTP layer with multiple server/client implementations. Provides coroutine friendly API without NO extension functions.
Add dependency to build.gradle.kts
:
Thin wrapper around com.sun.net.httpserver.HttpServer
.
- Coroutine friendly API for HttpServer
- Routing, filters, handlers
- Minimal dependencies - perfect to use in tests using http server mock
dependencies {
implementation("com.coditory.kttp:kttp-server-jdk:0.0.2")
}
- Improve request matching
- smarter way to sort path matchers with '*'
- use accept and language to pick the best handler
- Upload file
- Serve files
- Websocket
- kttp client
- more tests
- add netty implementation for production usage