../pvss.htm menu.gif basics.gif

xmlrpcSetGzipLimit()

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

caution.gifCAUTION

Under Solaris a zlib  (libz.so) version 1.2.3 is required for the use of the zip functions. Download the zlib version from the internet.

Synopsis

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

Parameters

    Parameter

    Meaning

    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

0 if OK. Otherwise -1.

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.gifEXAMPLE

#uses "CtrlXmlRpc"

main()

{

string id = "servID";

uint limit = 1024;

 

xmlrpcSetGzipLimit(id, limit);

}

Member of

XML-RPC, Basics

Availability

CTRL

See also

xmlrpcHandler(), xmlrpcCall(), xmlrpcClient(), xmlrpcCloseServer(), xmlrpcDecodeRequest(), xmlrpcEncodeResponse(), xmlrpcConnectToServer()

 

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved