Hi,
I am currently getting an error when using requestHTTP
function vibe.http.client.requestHTTP (string url, scope void delegate(scope HTTPClientRequest req) requester = null) is not callable using argument types (string, void, void)
It points to the line where the url is at in the requestHTTP function
requestHTTP(callurl,
(scope req) {
},
(scope res){
if(res.statusCode is 200){
ExampleTemplate callback = deserializeJson!ExampleTemplate(parseJsonString(res.bodyReader.readAllUTF8()));
}
}
);
Any clue to why this is happening? If I am to remove the line where the callback varable is located it compiles without errors.