Datasnap.DSClientRest.TDSRestCallbackLoop.Stop
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: public | |
Source: Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp
| |
Unit: Datasnap.DSClientRest | |
Parent: TDSRestCallbackLoop |
Delphi
procedure Stop;
C++
void __fastcall Stop();
Description
Terminates the thread.
The Stop method is used to terminate the thread. The thread will still be hung waiting for a response from the server, but once it gets that specific response, it will disregard the server command and will not send another HTTP request. Stop also sends a command to the server, telling it that the client wants to be unregistered.