Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread TServerRequest.OnBeforeExecute. Feature request ;-)
Thu, Mar 2 2017 8:01 PMPermanent Link

Mario Enríquez

Open Consult

Hi Tim,

I though it would be nice to have a TServerRequest.OnBeforeExecute(AUrl: string; Handled: boolean).

In this event when could have access to the encoded url just before its sent to the server. This way it would be possible to add some additional processing to the URL (signing the request by example) and could also come handy when debugging.

Regards,
Mario
Fri, Mar 3 2017 3:59 AMPermanent Link

Matthew Jones

Mario Enríquez wrote:

> I though it would be nice to have a TServerRequest.OnBeforeExecute(Aurl:  string; Handled: boolean).
>
> In this event when could have access to the encoded url just before its sent to the server. This way it would be possible to add some additional processing to the URL (signing the request by example) and could also come handy when debugging.

I was going to say that I do this today with a procedure which sets up the required headers and then executes it, but a proper event would indeed be a very nice addition.

--

Matthew Jones
Fri, Mar 3 2017 7:30 PMPermanent Link

kentersoft

<
I though it would be nice to have a TServerRequest.OnBeforeExecute(AUrl: string; Handled: boolean).

In this event when could have access to the encoded url just before its sent to the server. This way it would be possible to add some additional processing to the URL (signing the request by example) and could also come handy when debugging.
>

+1, url signature need to after url encode, currently not possible.
Tue, Mar 7 2017 2:27 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mario,

<< I though it would be nice to have a TServerRequest.OnBeforeExecute(AUrl: string; Handled: boolean).

In this event when could have access to the encoded url just before its sent to the server. This way it would be possible to add some additional processing to the URL (signing the request by example) and could also come handy when debugging. >>

No problem, I'll see what I can do.

Tim Young
Elevate Software
www.elevatesoft.com
Image