Skip to content

harborclient/http

Repository files navigation

@harborclient/http

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: Requester with configurable timeouts, SSL verification, proxy support, and redirect following.
  • Validation and encoding: URL/header validation and request body encoding via QueryString and related helpers.
  • Safety limits: Built-in response size caps via HARD_MAX_RESPONSE_SIZE_MB.

Documentation

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.

Development

pnpm install
pnpm test
pnpm docs:serve    # VitePress dev server with nav watcher
pnpm docs:build    # production docs build

License

MIT

About

HTTP utilities for HarborClient.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors