Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 455 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 455 Bytes

horse

Fast, opinionated, minimalist web framework for Delphi

For install in your project using boss:

$ boss install github.com/HashLoad/horse

Sample Horse Server

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.