Catalog · How the catalog works
horse-utils-clientip
Basic functions for Horse.
- ★ 20 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
Horse-Utils-ClientIP
Support: developer.dlio@gmail.com
Basic functions for Horse.
For install in your project using boss:
$ boss install github.com/dliocode/horse-utils-clientipUsage
Capture the client's IP:
uses
Horse,
Horse.Utils.ClientIP;
begin
THorse.Get('ping',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
begin
Res.Send(ClientIP(Req));
end);
THorse.Listen(9000);
end.License
MIT © Danilo Lucas

