WebSetHttpVersion Function (Deprecated)

Action

This function has been deprecated. Use WebSetOption instead.

Sets the HTTP/HTTPS version string to be used by low-level Web API functions.

注: A subsequent WebSetBrowser call will override this setting.

Include file

WebAPI.bdh

Syntax

WebSetHttpVersion(in sVersion : string): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
sVersion HTTP version string.

Example

dcltrans
transaction TWebInit
begin
  WebSetHttpVersion("HTTP/1.0");
  WebDumpSettings();
end TWebInit;