AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones HTTP
  • Properties specific to httpProgress variables
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The httpProgress type is used to manage the progress when sending or receiving an HTTP request. The progress characteristics can be defined and changed using different WLanguage properties.
This type of variable is used by:
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Ejemplo
cMyRequest is httpRequest
cMyRequest.URL = "http://www.windev.com"
cMyRequest.DownloadProgress.Procedure = MyCallback
cMyResponse is httpResponse = HTTPSend(cMyRequest)
IF ErrorOccurred THEN
	Error(ErrorInfo(errFullDetails))
ELSE
	Info(cMyResponse.Content)
END
Propiedades

Properties specific to httpProgress variables

The following properties can be used to handle the progress when sending or receiving an HTTP request:
Property nameType usedEffect
FrequencyIntegerFrequency for calling the progress bar or the procedure, defined in number of bytes.
The frequency is set to 1000 bytes by default.
Note: The frequency indicated may not be respected..
WEBDEV - Código Navegador Not available.
ProcedureCharacter stringName of procedure used to follow the progress. This procedure will be notified of the progress at the specified frequency.
This procedure has the following format:
PROCEDURE <Procedure name> (<Total>, <Progress>)
where:
  • <Total> is the total number of bytes to transfer.
  • <Progress> is the number of bytes already transferred.
Caution: If properties Procedure and Gauge are set, property Procedure takes priority for the call.
ProgressBarCharacter stringName of the Progress Bar control used to follow the progress. This control will be notified of the progress at the specified frequency.
Caution: If properties Procedure and Gauge are set, property Procedure takes priority for the call.
WEBDEV - Código Navegador Not available.
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local