How do I call this tamplte function?
Rib
neto.ribeiro at email.com
Tue Jun 26 17:37:55 UTC 2018
to get get() from std.net.curl return a ubyte[] and use my http
instance, all those failed:
string link = "http://...";
auto client = HTTP();
// set some client attributes...
auto fileContents = get!(AutoProtocol, ubyte)(link, client);
auto fileContents = get!(ubyte)(link, client);
auto fileContents = get!(client, ubyte)(link, client);
I still didn't "get" D templates.
More information about the Digitalmars-d-learn
mailing list