Index
Documents:
Async procedures,
Bonus Track - Performance and Benchmarking,
Concepts,
Errors and exceptions,
Examples,
Handling Multiple Routes,
Handling POST Requests and Processing JSON,
HTTP Client: Uptime Monitor,
HTTP server middleware,
HTTP Server: Status Dashboard,
Introduction,
Logging Requests with Middleware,
Making an HTTP Request with Chronos,
Making Requests Concurrently,
Porting code to chronos v4,
Scaling & Finishing Touches,
Sending Alerts with POST Requests,
Session Reuse,
Setting Up a Basic HTTP Server,
Smarter Health Check with Streaming,
Threads,
Timeouts and Cancellation,
Tips, tricks and best practices,
Updating this book.
API symbols
- Add Alerts:
- API documentation:
- asyncdispatch:
- await keyword:
- Basic concepts:
- Benchmarking with ApacheBench (ab):
- Building the docs locally:
- Callbacks and closures:
- Cancellation:
- Checked exceptions:
- Chronos v3:
- Compatibility modes:
- Compile-time configuration:
- Defining a Middleware:
- discard:
- Exceptions:
- Generating Response:
- Handling POST Requests:
- HTTP:
- Installation:
- join:
- Line-by-Line Explanation:
- Modifying the content:
- noCancel:
- Ownership:
- Platform support:
- Prerequisites:
- Raw async procedures:
- Registering Middleware:
- Routing Logic:
- Running the Benchmark:
- Set Up ntfy:
- Storing Data in Memory:
- Streaming the Body:
- Supporting multiple backends:
- TCP:
- The async pragma:
- The dispatcher:
- The Exception type:
- The Future type:
- The poll call:
- Threads:
- Timeouts:
- Understanding the Results:
Made with Nim. Generated: 2026-09-02 18:02:40 UTC