Catalog · How the catalog works
Horse-ETag
MIddleware para Servidor Horse para Controle de Etags
- ★ 37 on GitHub
Anyone may press Interesting, signed in or not. It helps others find this project.
README
eTag
eTag is not an official middleware. It was created to facilitate working with eTag using the Horse framework.
We created a channel on Telegram for questions and support:
⚙️ Installation
Installation is done using the boss install command:
boss install bittencourtthulio/Horse-ETagIf you choose to install manually, simply add the following folders to your project, in Project > Options > Resource Compiler > Directories and Conditionals > Include file search path
../Horse-ETag/src✔️ Compatibility
This middleware is compatible with projects developed in:
- [X] Delphi
- [X] Lazarus
⚡️ Quickstart
uses Horse, Horse.Etag, Horse.Jhonson, System.JSON;
begin
THorse
.Use(Jhonson)
.Use(eTag);
THorse.Get('ping',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
begin
Res.Send<TJsonObject>(TJsonObject.Create.AddPair('Teste', 'Teste'));
end);
THorse.Listen(9000);
end.

⚠️ License
eTag is free and open-source middleware licensed under the MIT License.

