AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones HTTP
  • httpConfigureMode constant
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HTTPConfigure (Function)
In french: HTTPParamètre
Warning
From version 28, HTTPParameter is kept for backward compatibility. This function is replaced by HTTPConfigure.
Configures the functions that use the HTTP protocol (HTTPRequest, HTTPSendForm, SOAPRun, SOAPRunXML, Imported webservices, SFExecuteQuery, etc.).
Example
HTTPConfigure(httpConfigureMode, 1)
HTTPRequest("www.pcsoft.fr")
Syntax
HTTPConfigure(<Option to modify> , <New value>)
<Option to modify>: Integer constant
Parameter to modify:
httpConfigureDisableCacheIn secure mode (HTTPS), used to manage the cache of Internet Explorer. The <New value> associated with this constant can be:
  • 0 (False by default): Used to re-enable the cache of Internet Explorer.
  • 1 (True): Used to disable the cache of Internet Explorer.
httpConfigureDisableCookieIn secure mode (HTTPS), used to configure the mode for managing the HTTP cookies of Internet Explorer. The <New value> associated with this constant can be:
  • 0 (False by default): Used to re-enable the management of HTTP cookies of Internet Explorer.
  • 1 (True): Used to disable the management of HTTP cookies of Internet Explorer.
httpConfigureModeConfigures the request handling mode. The <New value> associated with this constant can be:
  • 0 (False by default): HTTP requests handled by the framework common to WINDEV executables, WEBDEV sites and webservices. In this mode, if a request requires HTTPS, mode 1 will automatically be used.
  • 1 (True): HTTP and/or HTTPS requests handled by the Windows API that runs the process.
  • 2: HTTP and/or HTTPS request handled by a cross-platform configuration common to all frameworks.
    In this mode, a WINDEV application can exchange HTTPS data in the same way as a WINDEV Mobile application for iOS or Android. This mode can be used to replace the Windows API when it cannot encrypt HTTPS data.
<New value>: Integer
New value of the modified parameter.
Remarks

httpConfigureMode constant

For more details on the different possible values for the httpConfigureMode constant, see the following FAQ page: Error detected while sending the HTTP request.
Component: wd290com.dll
See also
Versión mínima requerida
  • Versión 15
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 09/02/2023

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