Gets the currently specified timeouts for Silk Performer's replay engine.
WebAPI.bdh
WebGetTimeout( in nFlag : number ) : number;
Current timeout value in milliseconds.
Parameter | Description |
---|---|
nFlag |
Specifies whether to retrieve the timeout value for sending, receiving or connecting. Possible options are:
|
transaction TTimeout begin WebSetTimeout(WEB_TIMEOUT_SEND, 1000); WebSetTimeout(WEB_TIMEOUT_RECV, 2000); WebSetTimeout(WEB_TIMEOUT_CONNECT, 3000); print(string(WebGetTimeout(WEB_TIMEOUT_SEND))); print(string(WebGetTimeout(WEB_TIMEOUT_RECV))); print(string(WebGetTimeout(WEB_TIMEOUT_CONNECT))); end TTimeout;