Fast, opinionated, minimalist web framework for Delphi
For install in your project using boss:
$ boss install horse
- (Optional) Install wizard
uses
Horse;
var
App: THorse;
begin
App := THorse.Create(9000);
App.Get('/ping',
procedure(Req: THorseRequest; Res: THorseResponse; Next: TProc)
begin
Res.Send('pong');
end);
App.Start;
end.
- jhonson - Middleware for parse JSON in HORSE
- horse-cors - Middleware for inject CORS headers in HORSE
- horse-octet-stream - Middleware for work with application/octet-stream in HORSE
- horse-jwt - Middleware for JWT in HORSE
- horse-basic-auth - Middleware for Basic Authentication in HORSE
- horse-compression - Middleware for compression in HORSE
- handle-exception - Middleware for handler exceptions in HORSE
- horse-etag - Horse Server Middleware for Etag Control