xmlrpcSetGzipLimit()

Defines from which size the contents of a request are compressed (gzip).

Synopsis

bool xmlrpcSetGzipLimit(string id, uint limit = 0);

Parameters

Parameter Description
id Server Id. Unique identification of the server.
limit Limit from which the contents of a request should be compressed. 0 (default) means that a compression does not take place (in byte).

Return value

The function returns TRUE if it was successfully executed and FALSE if not.

Description

Defines from which size the contents of a request are compressed (gzip).Requests with a size less than the defined limit are transmitted as is. Requests with a size equal or larger than the limit are compressed before being transmitted to the server.

EXAMPLE

#uses "CtrlXmlRpc"
main()
{
  string id = "servID";
  uint limit = 1024;
  xmlrpcSetGzipLimit(id, limit);
}

Assignment

XML RPC

Availability

CTRL