Repository navigation
Home
Tuntii edited this page Dec 3, 2026
·
3 revisions
Viltrum 2.x is a small HTTP framework (HTTP/1.1, HTTP/2, HTTP/3, WebSocket) for V on a zero-allocation core: one
SO_REUSEPORT epoll worker per CPU, a compile-time JSON encoder, Linux only. HTTPS runs in-process on the same
workers, or TLS terminates at a reverse proxy (Caddy, nginx).
Questions the docs do not answer: ask on Discord.
| Doc | When to read |
|---|---|
| Getting Started | Install, first server |
| Request and Response |
Ctx request and response calls, middleware |
| Connections | Workers, buffers, limits, timeouts |
| Static Files | Static files: directories, c.file, caching validators, ranges |
| Templates | HTML pages from Mustache templates (c.render), escaped by default |
| Forms and Uploads | Urlencoded forms, multipart uploads, upload limits |
| TLS | HTTPS listeners, certificate reload, TLS policy |
| HTTP/2 | HTTP/2 cleartext (h2c) beside HTTP/1.1, what handlers see, limits |
| HTTP/3 | HTTP/3 over QUIC on a TLS listener's port, what it does not serve yet, limits |
| gRPC | gRPC unary calls over HTTP/2: routes, trailers, what is not served |
| WebSocket | WebSocket routes, callbacks, closing, limits |
| Streaming and SSE | Streaming responses and Server-Sent Events: timers, sends from any thread, generated bodies |
| HTTP Client | Calling other HTTP services from a handler (c.fetch): upstreams, pooling, errors, timeouts |
| Deploy | Caddy/nginx, Host, timeouts, supervisor |
| Upgrading | Moving from 1.x to 2.0 |
| Releasing | Semantic-release and commit conventions |
Also: ../CHANGELOG.md, ../benches/RESULTS.md, examples in
../examples/README.md (hello, rest, features, https, ws_chat, sse).
Generic upgrade and hijack, https:// upstreams for the HTTP client, non-Linux platforms.
Upgrade v0.13 describes the v0.13 upgrade API and is kept for reference only.