Get a ip address of http clients

I have a DELPHI server that use TROIndyHTTPServer with TROJSONMessage to serve web contents with my own descendant of TROExtendedHttpDispatcher and all work fine.
Now i want to limit access of clients by list of IP Address: How to retrieve the ip address of calling http clients ?

Thank You and sorry for my english.
Regards

Adriano

Hello Adriano,

Please take a look at our Dispatch Notifier sample. It uses IRODispatchNotifier interface and it’s GetDispatchInfo method allow to get such information as client’s IP.

Hope this helps

Many Tanks Elena,
I should have thought before.