http/index
Overview
Module
- package:
@aerokit/sdk/http - source: http/index.ts
- last updated:
This module provides functionalities for making HTTP requests within the Aerokit SDK. It includes classes and methods for sending HTTP requests, handling responses, managing sessions, and configuring HTTP clients.
The main components of this module are:
- HttpClient: Represents an HTTP client for sending requests and receiving responses.
- Request: Represents an HTTP request with methods for setting headers, body, and other parameters.
- Response: Represents an HTTP response with methods for accessing status, headers, and body content.
- Session: Provides session management for maintaining state across multiple HTTP requests.
- Upload: Provides functionalities for handling file uploads in HTTP requests.
- Errors: Contains classes for handling various HTTP-related errors and exceptions.
- Utils: Provides utility functions for working with HTTP requests and responses.
- AsyncClient: Represents an asynchronous HTTP client for sending requests and receiving responses in a non-blocking manner.
- Decorators: Provides decorators for defining HTTP endpoints and their properties in a declarative manner.
