cangjie-http-server

Create and manage HTTP servers with routing and request handling in Cangjie.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-http-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cangjie-http-server
Source: https://github.com/SunriseSummer/CangjieDocValidator/tree/main/.github/skills/http_server
Command: npx skills add https://github.com/SunriseSummer/CangjieDocValidator --skill cangjie-http-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies the development of web servers using the Cangjie programming language, enabling developers to handle HTTP requests and responses efficiently.

Core Features & Use Cases

  • Server Configuration: Easily configure server address, port, timeouts, and request size limits.
  • Routing: Register handlers for different URL paths and HTTP methods.
  • Request/Response Handling: Access request details (headers, body, query params) and construct detailed responses (status codes, headers, bodies).
  • Use Case: Develop a RESTful API for a web application, create a microservice, or build a simple static file server.

Quick Start

Use the cangjie-http-server skill to create a basic web server that responds with "Hello Cangjie!" to requests on port 8080.

Frequently Asked Questions about cangjie-http-server

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

FAQPage Schema
How do I create an HTTP server in Cangjie?

To create an HTTP server in Cangjie, use this Skill to configure server parameters like address and port, register dynamic routing handlers, and manage request and response objects to serve network traffic efficiently.

Can I build a RESTful API using the Cangjie programming language?

Yes, you can build a RESTful API using the Cangjie programming language. This Skill supports registering handlers for different URL paths and HTTP methods, enabling the creation of web application endpoints and microservices.

How does request and response handling work for web development in Cangjie?

Request and response handling in Cangjie allows developers to access request details like headers, body, and query params, and construct detailed responses with specific status codes, headers, and bodies for HTTP clients.

Does the Cangjie HTTP server support custom routing for different HTTP methods?

Yes, the Cangjie HTTP server supports custom dynamic routing. You can register specific handlers for different URL paths and HTTP methods, allowing precise control over API endpoint behavior and web server request management.

Can I configure server timeouts and request size limits in a Cangjie web server?

Yes, you can configure server timeouts and request size limits in a Cangjie web server. This Skill enables detailed configuration of server parameters including server address, port, and request size constraints for network services.

How do I gracefully shut down an HTTP server built with Cangjie?

To gracefully shut down an HTTP server built with Cangjie, this Skill provides built-in management features for server lifecycle and graceful shutdown, ensuring network services terminate without dropping active requests.