Subject: Re: [boost] [http] Design ideas for a request router
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2016-03-14 23:19:55
On 15/03/2016 15:58, Rodrigo Madera wrote:
> However, on the technical side, I'm more on the idea that everything that
> can be done at compile time, should be done at compile time. Handlers, even
> routes, should be handled in compile time. . This is C++, after all.
While compile time should be the preferred option, it still must be
possible to modify routes (and other things) at runtime as well (even if
that requires adding a "dynamic_route" rule at compile time or similar).
The majority of cases will work fine with static routes, but dynamic
ones are sometimes needed too, and can't be ignored.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk