horse
3.1.6

马是Delphi和Lazarus的明确灵感网络框架。
旨在以极简主义和高性能以快速发展缓解事情。
使用boss install命令进行安装:
boss install horse 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;
procedure GetPing (Req: THorseRequest; Res: THorseResponse);
begin
Res.Send( ' Pong ' );
end ;
begin
THorse.Get( ' /ping ' , GetPing);
THorse.Listen( 9000 );
end . 对于更可维护的中间件生态系统,我们将官方的中间件放入了单独的存储库中:
| 中间件 | 德尔菲 | 拉撒路 |
|---|---|---|
| 马/json | ✔️ | ✔️ |
| 马/基本作物 | ✔️ | ✔️ |
| 马/科尔 | ✔️ | ✔️ |
| 马/溪流 | ✔️ | ✔️ |
| 马/JWT | ✔️ | ✔️ |
| 马/例外 | ✔️ | ✔️ |
| 马/记录仪 | ✔️ | ✔️ |
| 马/压缩 | ✔️ | ✔️ |
这是由马社区创建的中间人列表,如果您想看到自己的话,请创建公关!
| 中间件 | 德尔菲 | 拉撒路 |
|---|---|---|
| Bittencourtthulio/etag | ✔️ | ✔️ |
| Bittencourtthulio/paginate | ✔️ | ✔️ |
| Bittencourtthulio/cachecontrol | ✔️ | |
| Gabrielbaltazar/gbswagger | ✔️ | |
| Willhubner/socketio | ✔️ | |
| dliocode/ratelimit | ✔️ | |
| dliocode/slowdown | ✔️ | |
| Giorgiobazzo/上传 | ✔️ | |
| dliocode/Query | ✔️ | |
| Carloshe/HealthCheck | ✔️ | |
| Carloshe/staticfiles | ✔️ | |
| cachopaweb/马服务器静态 | ✔️ | ✔️ |
| Arvanus/Horse-Ocception-Logger | ✔️ | ✔️ |
| claudneysessa/horse-csrespensepaigation | ✔️ | |
| claudneysessa/horse-xsuperObjects | ✔️ | |
| Andre-Djsystem/Horse-Bearer-Ath | ✔️ | ✔️ |
| Andre-Djsystem/Horse-Manipulate-Request | ✔️ | ✔️ |
| Andre-DJSystem/Horse-Manipulate-Respons | ✔️ | ✔️ |
| Antoniojmsjr/Horse-Ipgeolocation | ✔️ | |
| Antoniojmsjr/Horse-Xmldoc | ✔️ | |
| Isaquepinheiro/Horse-jsonbr | ✔️ | |
| iagoocesaar/horse-jsonInterceptor | ✔️ | |
| Dliocode/Horse-Datalogger | ✔️ | |
| Marcobreveglieri/Horse-Prometheus-Metrics | ✔️ |
Horse与Delphi 11 Alexandria,Delphi 10.4 Sydney,Delphi 10.3 Rio,Delphi 10.2东京,Delphi,Delphi 10.1柏林,Delphi 10 Seattle,Delphi XE8和Delphi Xe7。
Horse是根据MIT许可证许可的免费和开源软件。