WebGetHttpVersion Function (Deprecated)

Action

This function has been deprecated. Use WebGetOption instead.

Gets the currently used HTTP/HTTPS version string to be used.

Include file

WebAPI.bdh

Syntax

WebGetHttpVersion( out sVersion : string,
                   in  nMaxLen  : number optional ): boolean;

Return value

  • true if successful

  • false otherwise

Example

dcltrans
  transaction TWebInit
  var
    sVersion: string;
  begin
    WebGetHttpVersion(sVersion);
    write("HttpVersion: "); write(sVersion); writeln;
  end TWebInit;