XDataClient

Hello again,

is it possible to equip my TXdataClient with a loading notification?
For the authorisation i'm already using the HttpClient.OnSendingRequest Method

MainXDClient := TXDataClient.Create;
MainXDClient.HttpClient.OnSendingRequest :=
    procedure(Req: THttpRequest)
      begin
        Req.Headers.SetValue('Authorization', 'Bearer ' + TokenResult.AccessToken);
        Req.Headers.SetValue('xdata-proxy-load-depth', '1');
      end;

I wondered if there is a method wich is called when the request is complete?
My idea was to show a "Please Wait" notication between "onsendingrequest" and another method.

Is this possible?
Kind regards,

Hi @Paffen_Kurt1,

You can use OnResponseReceived event.