The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services.
Changelog:
() -> Instant
where a Clock is used. H/T @kwydlerChangelog:
request.json<MyType>()
Changelog:
Changelog:
with()
functions on auto-marshallers to match content type, so you can now do req.json(myObj)
and get the content type and body set in one go. Likewise for other content typesChangelog:
Changelog:
Changelog:
Changelog:
Changelog:
Changelog: