Can't understand how to do server response with vibed

Sebastiaan Koppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 30 11:41:18 PST 2015


On Sunday, 29 November 2015 at 07:37:56 UTC, Suliman wrote:
> On Saturday, 28 November 2015 at 23:21:21 UTC, Sebastiaan Koppe 
> wrote:
>> On Saturday, 28 November 2015 at 19:05:59 UTC, Suliman wrote:
>>> And also I can't understand difference between 
>>> HTTPClientRequest and HTTPServerRequest
>>
>> If the application (vibe.d) makes a request, it is the client. 
>> If the request is made to your application, it is the server.
>>
>> In your case your angular app is the client, and your vibe.d 
>> app is the server. Therefor, HTTPServer(Request|Response).
>
> Could you explain me about: HTTPServerRequest and HTTPRequest. 
> I can't understand difference.

No idea. Probably HTTPRequest provides common functionality for 
both HTTPServerRequest and HTTPClientRequest. Just guessing.


More information about the Digitalmars-d-learn mailing list