Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Fast, opinionated, minimalist web framework for Delphi

License

NotificationsYou must be signed in to change notification settings

HashLoad/horse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Horse


Horse is anExpress inspiredweb framework for Delphi and Lazarus.
Designed toease things up forfast development in aminimalist way and with highperformance.


⚙️ Installation

Installation is done using theboss install command:

boss install horse

⚡️ Quickstart Delphi

uses Horse;begin  THorse.Get('/ping',    procedure(Req: THorseRequest; Res: THorseResponse)begin      Res.Send('pong');end);  THorse.Listen(9000);end.

⚡️ Quickstart Lazarus

{$MODE DELPHI}{$H+}uses Horse;procedureGetPing(Req: THorseRequest; Res: THorseResponse);begin  Res.Send('Pong');end;begin  THorse.Get('/ping', GetPing);  THorse.Listen(9000);end.

🧬 Official Middlewares

For a moremaintainable middlewareecosystem, we've put official middlewares into separate repositories:

MiddlewareDelphiLazarus
horse/json   ✔️    ✔️
horse/basic-auth   ✔️    ✔️
horse/cors   ✔️    ✔️
horse/stream   ✔️    ✔️
horse/jwt   ✔️    ✔️
horse/exception   ✔️    ✔️
horse/logger   ✔️    ✔️
horse/compression   ✔️    ✔️

🌱 Third Party Middlewares

This is a list of middlewares that are created by the Horse community, please create a PR if you want to see yours!

MiddlewareDelphiLazarus
bittencourtthulio/etag   ✔️    ✔️
bittencourtthulio/paginate   ✔️    ✔️
bittencourtthulio/cachecontrol   ✔️    ❌
gabrielbaltazar/gbswagger   ✔️    ❌
willhubner/socketIO   ✔️    ❌
dliocode/ratelimit   ✔️    ❌
dliocode/slowdown   ✔️    ❌
giorgiobazzo/upload   ✔️    ❌
dliocode/query   ✔️    ❌
CarlosHe/healthcheck   ✔️    ❌
CarlosHe/staticfiles   ✔️    ❌
CachopaWeb/horse-server-static   ✔️    ✔️
arvanus/horse-exception-logger   ✔️    ✔️
claudneysessa/Horse-CSResponsePagination   ✔️    ❌
claudneysessa/Horse-XSuperObjects   ✔️    ❌
andre-djsystem/horse-bearer-auth   ✔️    ✔️
andre-djsystem/horse-manipulate-request   ✔️    ✔️
andre-djsystem/horse-manipulate-response   ✔️    ✔️
antoniojmsjr/Horse-IPGeoLocation   ✔️    ❌
antoniojmsjr/Horse-XMLDoc   ✔️    ❌
isaquepinheiro/horse-jsonbr   ✔️    ❌
IagooCesaar/Horse-JsonInterceptor   ✔️    ❌
dliocode/horse-datalogger   ✔️    ❌
marcobreveglieri/horse-prometheus-metrics   ✔️    ❌

Delphi Versions

Horse works with 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.

💻 Code Contributors

⚠️ License

Horse is free and open-source software licensed under theMIT License.

📐 Tests

testsConsole Coverage VCL Coverage


[8]ページ先頭

©2009-2025 Movatter.jp