Hey,
With the initial Nimbus release out, we're back to working on features - this is good news for chronos, because we've finally been able to put in place some more nice pieces of the puzzle: we now have both a minimal HTTP(S) client and server in beta :)
Some features:
In Nimbus, chronos above all drives the peer-to-peer networking through nim-libp2p - our first uses of the web server is to expose metrics and a REST API in addition to the existing JSON-RPC server. Next up is likely WebSockets support, such that libp2p can learn to interop with browsers more smoothly :)
If you're looking for something more of a web framework, bung87's been at it with a chronos-based one - scorper - make sure to check that out as well!
Well, looks like no. Nice lib.
At least I tried, though.
import std/uri
import chronos, chronos/apps/http/httpclient
let response = waitFor fetch(HttpSessionRef.new(), parseUri("https://duckduckgo.com/"))
echo bytesToString response.data