Can't understand how to do server response with vibed

Sebastiaan Koppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 28 15:23:35 PST 2015


On Saturday, 28 November 2015 at 19:10:17 UTC, Suliman wrote:
> void action(HTTPServerRequest req, HTTPServerResponse res)
> {
>
> }
>
> Here is function what have two call-backs. When it's get 
> request it's work as server, when it's send response it's work 
> like client or I have wrong logic?

Wrong logic. Its the server that gets the request and the server 
that send the response.


More information about the Digitalmars-d-learn mailing list