Full documentation: https://harborclient.github.io/http/
Outbound HTTP utilities for HarborClient.
@harborclient/http is a library for URL and header validation, request body encoding, fetch execution (with optional undici dispatcher for SSL and proxy settings), response size limits, and redirect following:
- Request execution:
Requesterwith configurable timeouts, SSL verification, proxy support, and redirect following. - Validation and encoding: URL/header validation and request body encoding via
QueryStringand related helpers. - Safety limits: Built-in response size caps via
HARD_MAX_RESPONSE_SIZE_MB.
| Topic | Link |
|---|---|
| Getting started | Introduction |
| Installation | Installation |
| Usage | Usage |
Canonical docs live in docs/. Edit those pages directly, then run pnpm docs:build:nav to refresh the VitePress sidebar.
pnpm install
pnpm test
pnpm docs:serve # VitePress dev server with nav watcher
pnpm docs:build # production docs buildMIT