mesh-http

Build HTTP servers with routing, middleware, and WebSocket support.

2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/snowdamiz/mesh-lang --skill mesh-http
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mesh-http
Source: https://github.com/snowdamiz/mesh-lang/tree/main/tools/skill/mesh/skills/http
Command: npx skills add https://github.com/snowdamiz/mesh-lang --skill mesh-http

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the creation of robust HTTP servers and the consumption of external HTTP APIs, streamlining network-based application development.

Core Features & Use Cases

  • HTTP Server: Define routes, handle requests, implement middleware, and serve responses. Supports path parameters and JSON payloads.
  • HTTP Client: Make synchronous GET requests or use a fluent builder API for more complex requests (POST, PUT, DELETE) with headers, bodies, and timeouts.
  • WebSocket Support: Integrate WebSocket handling within the HTTP server framework.
  • Use Case: Build a RESTful API for your Mesh application or fetch data from a third-party service to enrich your application's functionality.

Quick Start

Use the mesh-http skill to create a simple HTTP server that responds with 'Hello, Mesh!' on the /hello path, running on port 8080.

Frequently Asked Questions about mesh-http

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

FAQPage Schema
How do I build an HTTP server with routing and middleware?

To build an HTTP server with routing and middleware, you can define routes, handle requests, and implement middleware to process incoming traffic before serving JSON responses. The server supports path parameters and WebSocket integration.

How do I make HTTP client requests with custom headers and timeouts?

To make HTTP client requests with custom headers and timeouts, use the fluent builder API for complex methods like POST, PUT, and DELETE. Synchronous GET requests are also supported for simpler data fetching operations.

Does this HTTP server framework support WebSocket connections?

Yes, the HTTP server framework supports WebSocket connections, allowing you to integrate WebSocket handling directly within your server-side application alongside standard routing and middleware.

What is the best way to consume external HTTP APIs in my application?

The best way to consume external HTTP APIs is using the fluent builder client, which handles complex requests with custom bodies and timeouts, or by making synchronous GET requests for straightforward data retrieval.

Can I use path parameters and JSON payloads for RESTful API routing?

Yes, you can use path parameters and JSON payloads for RESTful API routing. The HTTP server handles request processing and serves JSON responses, streamlining network-based application development.

How does middleware handle incoming server requests?

Middleware handles incoming server requests by processing them sequentially within the defined routing framework before generating JSON responses. This simplifies the creation of robust HTTP services.