Reads data from a response flow in chunks.
&DataType.ReadChunk()
Type Returned:
String
Where:
&DataType
Variable name based on an HttpClient data type.
Returns a string representing a chunk of data read from the service response flow.
The ReadChunk method allows incremental reading of data from the service response flow.
Each call to this method retrieves a chunk of data from the flow. If the flow still has data available, subsequent calls will retrieve new chunks until the end of the flow is reached.
To check if there are any chunks left to read from the response flow, you can use the EOF Property.
Extended data types: HttpClient
Generators: Java, .NET Framework, .NET, Angular
This method is available since GeneXus 18 Upgrade 7.
Reading and writing chunked responses