developer-delphi-horse-core

Configure a lightweight HTTP server in Delphi/Lazarus using Horse.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-horse-core
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: developer-delphi-horse-core
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-horse-core_V1.0.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-horse-core

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Horse provides a lightweight, structured way to build HTTP servers in Delphi and Lazarus, offering routing, middleware, and controlled responses with THorseRequest and THorseResponse.

Core Features & Use Cases

  • Routing: Get, Post, Put, Delete, Patch, Head, All, Group, Use for middleware chaining.
  • Middleware: Global and path-specific middleware support to compose request handling.
  • THorseRequest/THorseResponse: Access to route params, query, body, headers, cookies, and session data plus file responses.
  • Server lifecycle: Start, listen, and manage server state with THorse.

Quick Start

Register a route with THorse and start the server on a chosen port.

Frequently Asked Questions about developer-delphi-horse-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a lightweight HTTP server in Delphi or Lazarus?▼

You can build a lightweight HTTP server in Delphi or Lazarus using the Horse framework to configure routes, apply middleware, and manage request/response handling before starting the server with THorse on a chosen port.

How does middleware chaining work for RESTful services in Delphi?▼

Middleware chaining for RESTful services in Delphi is handled by Horse using the Use method, allowing developers to compose global and path-specific request handling across HTTP routes.

Can I use Horse to manage RESTful API routing and lifecycle in Lazarus?▼

Yes, Horse manages RESTful API routing and lifecycle in Lazarus by registering HTTP methods like Get and Post, then using THorse to start, listen on a port, and control server state.

What do I need to handle HTTP request body and headers in a Delphi microservice?▼

Handling HTTP request body and headers in a Delphi microservice requires Horse and knowledge of THorseRequest and THorseResponse to access route params, query data, body, headers, and cookies.

What is the best way to group routes for a microservice in Delphi?▼

The best way to group routes for a microservice in Delphi is using the Horse framework's Group feature, which structures endpoints and applies common middleware to specific route collections.

Do I need external dependencies to start a minimal HTTP server with Horse in Delphi?▼

No external dependencies are required to start a minimal HTTP server with Horse in Delphi, as the core framework provides routing, middleware, and server lifecycle management natively.