Official Content

Indicates whether the end of the document or data stream has been reached.

Syntax

&DataType.EOF

Type Returned:
Boolean

Description

It can be used after invoking the read or readtype methods.

The EOF property on an HttpClient data type allows you to control and verify whether the end of the server response has been reached when reading data in fragments, as is the case with the "Chunked Response" technique.

When EOF is true, it means that the end of the response has been reached and there are no more data fragments to be read. 

Sample

if (&DataType.EOF)

....

Endif

Scope

Extended Data Types: XmlReaderHttpClient
Generators: .NET.NET Framework, Java,  Angular

Availability

This property is available in the HttpClient data type since GeneXus 18 Upgrade 7.

 

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant