Official Content

Sets the maximum time (in seconds) that the system will wait for an answer to be sent from the server after each request.

Syntax

&ExtendedDataType.Timeout = <numeric-expression>

Where:

&ExtendedDataType 
  Is a variable based on the HttpClient data type or Location data type or POP3Session Data Type or SMTPSession Data Type.

numeric-expression
   Is a Numeric expression that indicates the maximum time (in seconds) that the system will wait for an answer to be sent from the server after each request.

Type Returned:
None

Description

This value must be adapted to the communication network speed and to the server load. Low values should be used for local networks, and higher values for the Internet, particularly if there is a connection to remote servers. 

  • POP3Session, SMTPSession: The default value is 30.
  • Location: The default value is 0, which means that the waiting time is undefined.

Scope

Extended Data Types: HttpClient, Location, POP3Session, SMTPSession
Generators: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

Runtime / Design time

This property applies only at runtime.

See Also

Login Method
Receive Method
Send Method
POP3Session Data Type
SMTPSession Data Type
Location Data Type
Locations
HttpClient Data Type

  

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