Web servers in D

Seb via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 2 05:33:34 PDT 2017


On Saturday, 2 September 2017 at 09:26:27 UTC, Andrew Chapman 
wrote:
> On Friday, 25 August 2017 at 05:25:09 UTC, Hasen Judy wrote:
>> [...]
>
>> [...]
>
> Don't use these components :-)
>
>> [...]
>
> Vibe.d does this - just don't use the automatic API generation 
> feature if you don't like it.  Note, you can get access to the 
> request/response objects even if you do use the API generation 
> by using an @before method.  E.g. in an interface you may have 
> something like this:

There is built-in support for authentication in vibe.d:

https://github.com/rejectedsoftware/vibe.d/tree/master/examples/web-auth


More information about the Digitalmars-d-learn mailing list