On Saturday, 7 November 2020 at 16:37:22 UTC, Vino wrote: ,
Trying to improve the above code hence request your help on how to use array container instead of array, tried as per the example below but not working.
I think you can just use a static array as ubyte[1024] if you want a fixed buffer - it should convert to the ubyte[] slice and compile.
Try caching your cURL instance if possible since allocating cURL resources have an impact on overall duration.