/horse

Fast, opinionated, minimalist web framework for Delphi

Primary LanguagePascalMIT LicenseMIT

Horse

Fast, opinionated, minimalist web framework for Delphi

For install in your project using boss:

$ boss install horse

Samples

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.

Middlewares