On Saturday, 7 November 2020 at 15:26:48 UTC, frame wrote:
On Saturday, 7 November 2020 at 14:57:39 UTC, Vino wrote:


After further analysis we suspect that the issue is at the package std.net.curl the flow of the program is as below

Establishing a new connection may vary in duration of +200ms or more.

Hi All,

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.

Code:
  ubyte[] content;
https.onReceive = (ubyte[] data) { content ~= data; return data.length; };


Example
  Array!ubyte content;
https.onReceive = (Array!ubyte data) { content.insert(data); return data.length; };

From,
Vino.B

Reply via email to