WebGetKeepAlive Function

Action

Checks whether the KeepConnection flag is set.

Include file

WebAPI.bdh

Syntax

WebGetKeepAlive(): boolean;

Return value

  • true if flag is set

  • false otherwise

Example

dcltrans
transaction TWebInit
begin
  write("HttpKeepConnection: ");
  if WebGetKeepAlive() then
    write("true"); writeln;
  else
    write("false"); writeln;
  end;
end TWebInit;