D equivalent to XMLHttpRequest functions

Hi guys, I'm looking for sample code to make an HTTP request in D, something like XMLHttpRequest jscript.

+5
source share
3 answers

Some people have created wrappers for libcurl that you can use to create http requests.

Try it. https://github.com/gmfawcett/d-play-libcurl/blob/master/fawcett/curl.d

+7
source

D, ​​, - . , HTTP-. - , D - - . -, , , .

, , - , . D .

+2

std.net.curl from the standard library http://dlang.org/phobos/std_net_curl.html

(as I understand it, the situation has changed since 2011)

0
source

All Articles