Skip to content

AtomHTTP v1.0.0

Choose a tag to compare

@inject3r inject3r released this 09 Jun 00:01
· 4 commits to master since this release

Features v1.0.0 (Beta)

  • Full HTTP Method Support: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS with async/await syntax
  • Request & Response Interceptors: Modify requests before sending and responses before returning
  • Upload & Download Progress Tracking: Real-time callbacks for monitoring data transfer
  • FormData Support: Multipart/form-data and URL-encoded form handling with file uploads
  • Multiple Response Types: JSON (auto-parsed), text, blob, arraybuffer, and stream
  • Concurrent Request Helpers: Execute multiple requests in parallel with all() and spread()
  • Base URL Configuration: Set a base URL once and use relative paths
  • Automatic JSON Serialization: No need to manually encode/decode JSON
  • Authentication: Basic Auth and Bearer Token support
  • Comprehensive Error Handling: Typed exceptions with standardized error codes
  • Timeout & Redirect Control: Configurable timeouts and maximum redirect limits
  • Keep-Alive & Connection Pooling: Reuse connections for better performance
  • Proxy Support: Route requests through HTTP proxies
  • Unix Socket Path Support: Connect via Unix domain sockets
  • Size Limits: Configure maximum request body and response content lengths
  • Status Code Validation: Custom validation functions for HTTP status codes
  • CSRF Protection: Built-in support for XSRF token headers
  • Automatic Decompression: Handles gzip and deflate compressed responses
  • Mock Adapter for Testing: Simulate responses without network calls
  • Type Hints: Full typing support for excellent IDE autocompletion