Fiber based HTTP client for load testing
ikod
igor.khasilev at gmail.com
Thu Oct 1 06:15:56 UTC 2020
On Thursday, 1 October 2020 at 03:10:32 UTC, ikod wrote:
> On Thursday, 1 October 2020 at 00:35:49 UTC, Arun wrote:
>> I have a REST client that can do load test of my REST
> void main()
> {
> auto urls = ["http://httpbin.org/",
> "http://httpbin.org/image"];
> foreach(url; urls)
> {
> runWorkerTask(&workerFunc, url);
Or maybe just `runTask(&workerFunc, url)` - I'm not sure which
function implements fiber and not worker thread.
More information about the Digitalmars-d-learn
mailing list