Setting an automatic refresh rate

To change how frequently the IBM® Rational® Rhapsody® web server refreshes changed values, use the SetRefreshTimeout function. The argument to this function holds the refresh rate, in milliseconds.

About this task

For example, to change the refresh interval to every 5 seconds, use the following call:

SetRefreshTimeout(5000);

See <product installation path>\Share\MakeTmpl\web\WebServerConfig\ChangeRefreshRate for an example.


Feedback