http-kit

Provides an asynchronous HTTP client and server library for Clojure with WebSocket support.

1|Updated Sep 5, 2025
One-click install
npx skills add https://github.com/Ramblurr/nix-devenv --skill http-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http-kit
Source: https://github.com/Ramblurr/nix-devenv/tree/main/prompts/skills/clojure-http-kit
Command: npx skills add https://github.com/Ramblurr/nix-devenv --skill http-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the development of high-performance HTTP clients and servers in Clojure, enabling efficient web communication with minimal dependencies.

Core Features & Use Cases

  • HTTP Server: Build Ring-compatible web servers with support for WebSockets and streaming responses.
  • HTTP Client: Make asynchronous HTTP requests with promise-based or callback-based APIs, supporting various request options like authentication, redirects, and file uploads.
  • Use Case: Develop a real-time chat application using WebSockets or build a microservice that efficiently handles numerous incoming API requests.

Quick Start

Use the http-kit skill to start a simple HTTP server that responds with "hello HTTP!" on port 8080.

Frequently Asked Questions about http-kit

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

FAQPage Schema
How do I build a high-performance HTTP server in Clojure with WebSocket support?

To build a high-performance HTTP server in Clojure, you can use http-kit to create an event-driven, Ring-compatible server with non-blocking I/O and native WebSocket support for real-time applications.

How do I make asynchronous HTTP client requests in Clojure?

You can make asynchronous HTTP client requests in Clojure using http-kit, which provides promise-based and callback-based APIs for handling network-bound tasks with efficient non-blocking I/O.

Can I use http-kit with my existing Ring-compatible web applications?

Yes, http-kit is fully Ring-compatible, allowing you to integrate it directly with existing Ring middleware and handlers to serve web applications or microservices efficiently.

What is the best way to handle numerous incoming API requests in a Clojure microservice?

The best way to handle numerous incoming API requests in a Clojure microservice is using an event-driven HTTP server like http-kit, which utilizes non-blocking I/O for optimal performance under high network load.

Does http-kit support streaming responses for real-time chat applications?

Yes, http-kit supports streaming responses and WebSockets, making it suitable for building real-time chat applications and other interactive web services in Clojure.