Overview
The HTTP Server modules fromeffect/unstable/http provide tools for building HTTP servers with routing, middleware, and request handling.
Creating a server
Routing
Basic routes
Route parameters
Mounting sub-routers
Request handling
Accessing the request
Sending responses
Middleware
Creating middleware
Applying middleware
Platform support
Node.js
Bun
Web handler
Create a web handler for serverless environments:See also
- HTTP Client - Make HTTP requests
- HTTP API - Build schema-first APIs