Am 13.11.2012 03:24, schrieb Chang Long:

I need call curl for a web request, I am not sure how to do that.

Is there anybody can give some suggestion ?

I'm not sure about your context, but if you are in a vibe.d application and need to use actual CURL,
you should start a separate thread for the request and use and a core.signal.Signal
to let the original fiber be notified of its completion (Signal should work from foreign
threads, but I didn't check).

If you just need to do a HTTP request, using either or
http.client.requestHttp should be able to achieve the same (although constructing any form data in
the request would need to be done by hand).

Hope this helps.