truedat101 / dlang-sv-community

A community repository for stuff related to #dlang Silicon Valley Meetup group
http://www.meetup.com/D-Lang-Silicon-Valley/
2 stars 1 forks source link

dlang is lacking good http/net examples #62

Closed truedat101 closed 4 years ago

truedat101 commented 5 years ago

The D tutorials and online books don't show a good std.net or std.net.curl set of samples. The few examples available are based on something not in phobos, vibe-d. This is just another example of a community bug, that this is acceptable because ... not sure why this is ok. Phobos ought to be sufficient to build cloud services or simple web servers.

truedat101 commented 4 years ago

Per some complication when exploring #58 , I found that linking the curl libraries can be tricky, especially when considering static linking and distribution. The arsd implementation of http2 is good, solid in fact. https://github.com/adamdruppe/arsd/blob/master/http2.d

Going to close this out and just point people towards the http2. I think it begs the question, is why this isn't in phobos.