|
|
|
|
|
- Properties specific to httpProgress variables
httpProgress (Variable type) In french: httpAvancement
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. cMaRequête is httpRequest
cMaRequête.URL = "http://www.pcsoft.fr"
cMaRequête.AvancementTéléchargement.Procedure = MaCallBack
cMaRéponse is httpResponse = HTTPEnvoie(cMaRequête)
IF ErrorOccurred THEN
Error(ErrorInfo(errFullDetails))
ELSE
Info(cMaRéponse.Content)
END
Properties Properties specific to httpProgress variables The following properties can be used to handle the progress when sending or receiving an HTTP request: | | | Property name | Type used | Effect |
---|
Frequency | Integer | Frequency 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.. | Procedure | Character string | Name 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 <Nom de la procédure>(<Total>, <Progression>) 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. | ProgressBar | Character string | Name 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. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|