Hello,
For my nimnews package, I wanted to know what were the best HTTP server library
options I had. For the moment, I'm using Jester but I'm not making use of the
framework part at all as I prefer to split my code in procedure and not having
to write all by handlers in the same place.
For the moment, I use Jester with things like this:
proc root*(req: Request): Future[ResponseData] {.async.} =
block route:
redirect("/group/")
Run
Unfortunately this breaks in newer Jester 1.4.0 because `redirect` expects to
be called from a context it does not have. See
<https://github.com/dom96/jester/issues/269>.
I wanted to know what HTTP server there was out there with a rather complete
implementation (I remember using the standard library server and it was missing
code around parameter handling). I would need async support too.
Thank you for your ideas.