PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The following functions are used to handle the Internet pages, to send HTTP forms, ...:
HTTPAddFileAdds a file into the HTTP form.
HTTPAddParameterAdds a parameter into an HTTP form.
HTTPCancelFormCancels the declaration of an HTTP form and frees all its resources.
HTTPCertificateModifies the client certificate used by default to identify oneself on a server.
HTTPCookieGetRetrieves the cookies read by a call:
HTTPCookieManageEnables or disables the management of cookies in an HTTP request run:
HTTPCookieReadReturns the value of a cookie received further to an HTTP request.
HTTPCookieReplaceReplaces all the cookies stored for a domain:
HTTPCookieResetDeletes all cookies (globally or for a domain) stored:
HTTPCookieWriteAdds or modifies a cookie in an HTTP request.
HTTPCreateFormCreates an HTTP form.
HTTPDestinationIndicates the backup file for the result of next HTTP request, run in the same thread.
HTTPGetResultRetrieves the result or the header of last HTTP request run.
HTTPListCertificateLists the client certificates found on the computer to authenticate on a server.
HTTPParameterAllows you to configure the functions that use the HTTP protocol.
HTTPProgressBarDisplays a progress bar when:
  • receiving the response to an HTTP request.
  • sending an HTTP form (HTTPSendForm) or an HTTP query.
HTTPRequestStarts an HTTP request on a server.
HTTPResetFormClears an HTTP form that is currently edited.
HTTPSendSends an HTTP request and waits for the response from the HTTP server.
HTTPSendFormSends an HTTP form.
HTTPSimulateNetworkSimulates a slow network by limiting the download and upload speed.
HTTPTimeOutSets the timeout for WLanguage functions that use the HTTP protocol (HTTPRequest, SOAPExecute, DotNetExecute, J2EEExecute, etc.).
InternetConnectedDefines whether an Internet connection is enabled on the current computer. In mobile, you can also be notified when the status of the Internet connection changes.
ProxySpecifies whether the communication functions that use the HTTP protocol (HTTP, DotNet, J2EE, SOAP, GoogleXXX functions) must go via a proxy to run their requests.
RESTSendSends a REST request and waits for the server response.
The following advanced types can be used with HTTP functions:
Versions 15 and later
Cookie
New in version 15
Cookie
Cookie
The Cookie type is used to handle the cookies transmitted in the HTTP requests.
Versions 20 and later
httpProgress
New in version 20
httpProgress
httpProgress
The httpProgress type is used to manage the progress when sending or receiving an HTTP request.
Versions 20 and later
httpRequest
New in version 20
httpRequest
httpRequest
The httpRequest type is used to retrieve the advanced characteristics of an HTTP/HTTPS request.
Versions 20 and later
httpResponse
New in version 20
httpResponse
httpResponse
The httpResponse type is used to get the advanced characteristics of the response of HTTP/HTTPS request.
Versions 20 and later
restRequest
New in version 20
restRequest
restRequest
The restRequest type is used to define the advanced characteristics of a REST request.
Versions 20 and later
restResponse
New in version 20
restResponse
restResponse
The restResponse type is used to define all the advanced characteristics of a REST response.
Related Examples:
WD HTTP Proxy Complete examples (WINDEV): WD HTTP Proxy
[ + ] This WINDEV example is a simplified HTTP proxy.
You can save connections and find out which pages were viewed.
WD Trace Socket Sample components (WINDEV): WD Trace Socket
[ + ] The purpose of this example is to trace everything that occurs on a communication via socket, on a specific address, on a specific port. This example allows you to understand the principle of dialog via socket between two applications.
Therefore, in the applications that dialog via socket, even if no trace option as implemented by the developers, you will have he ability to view all the exchanges performed on the socket.
This example also enables you to understand the operating mode of the network protocols based on the sockets: POP3, SMTP, FTP, HTTP, and so on.
Note for the users who are experienced in network communication:
This example does not allow you to trace the UDP packages (only the TCP communications can be traced).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment