Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

ResponseFIlter BRowser trigger.

Post Reply
japri
Posts: 2
Joined: Tue Dec 07, 2021 5:02 pm

ResponseFIlter BRowser trigger.

Post by japri »

Hi,

I tried to catch load response body using example from response filter browser. the problem is i can only make it triggered once. when ichange it to another URL.

anyone know how this procedure got triggered.

procedure TResponseFilterBrowserFrm.Filter_OnFilter(Sender: TObject;
data_in: Pointer; data_in_size: NativeUInt; var data_in_read: NativeUInt;
data_out: Pointer; data_out_size: NativeUInt;
var data_out_written: NativeUInt; var aResult: TCefResponseFilterStatus);

Thanks.
japri
Posts: 2
Joined: Tue Dec 07, 2021 5:02 pm

Re: ResponseFIlter BRowser trigger.

Post by japri »

I just found out the answer

I just need to add FRscCompleted := False;
at the end of this procedure.

procedure TResponseFilterBrowserFrm.StreamCopyCompleteMsg
(var aMessage: TMessage);


SOrry for all the hassle ...
Post Reply