Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork231
Fast, opinionated, minimalist web framework for Delphi
License
HashLoad/horse
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Horse is anExpress inspiredweb framework for Delphi and Lazarus.
Designed toease things up forfast development in aminimalist way and with highperformance.
Installation is done using theboss install command:
boss install horse
- (Optional) Installwizard
uses Horse;begin THorse.Get('/ping', procedure(Req: THorseRequest; Res: THorseResponse)begin Res.Send('pong');end); THorse.Listen(9000);end.
{$MODE DELPHI}{$H+}uses Horse;procedureGetPing(Req: THorseRequest; Res: THorseResponse);begin Res.Send('Pong');end;begin THorse.Get('/ping', GetPing); THorse.Listen(9000);end.
For a moremaintainable middlewareecosystem, we've put official middlewares into separate repositories:
| Middleware | Delphi | Lazarus |
|---|---|---|
| horse/json | ✔️ | ✔️ |
| horse/basic-auth | ✔️ | ✔️ |
| horse/cors | ✔️ | ✔️ |
| horse/stream | ✔️ | ✔️ |
| horse/jwt | ✔️ | ✔️ |
| horse/exception | ✔️ | ✔️ |
| horse/logger | ✔️ | ✔️ |
| horse/compression | ✔️ | ✔️ |
This is a list of middlewares that are created by the Horse community, please create a PR if you want to see yours!
Horse works with Delphi 13 Florence, Delphi 12 Athens, Delphi 11 Alexandria, Delphi 10.4 Sydney, Delphi 10.3 Rio, Delphi 10.2 Tokyo, Delphi 10.1 Berlin, Delphi 10 Seattle, Delphi XE8 and Delphi XE7.
Horse is free and open-source software licensed under theMIT License.
About
Fast, opinionated, minimalist web framework for Delphi
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
