Datasnap.DSClientRest.TDSRestCallbackLoop.Stop
Delphi
procedure Stop;
C++
void __fastcall Stop();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.DSClientRest.pas Datasnap.DSClientRest.hpp |
Datasnap.DSClientRest | TDSRestCallbackLoop |
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.