Expand description
Interface definitions for nyquest
HTTP client backends.
This crate provides the interface that backends must implement to be compatible with
the nyquest
HTTP client facade. It defines the core types and traits that are used
across all nyquest implementations.
§Backend Registration
Backend implementations must register themselves using the register_backend
function
before they can be used by nyquest
.
§Features
async
: Enable async interface supportblocking
: Enable blocking interface supportmultipart
: Enable multipart form support
Re-exports§
Modules§
- async
async
- Asynchronous HTTP client interface.
- blocking
blocking
- Blocking HTTP client interface.
- body
- Request body types for nyquest HTTP clients.
- client
- HTTP client configuration and building.
Structs§
- Request
- Represents an HTTP request to be sent by a nyquest client.
Enums§
- Error
- Common error types that can occur in nyquest HTTP operations.
- Method
- HTTP request methods supported by nyquest.
Functions§
- register_
backend - Registers a backend implementation for use with nyquest.
Type Aliases§
- Result
- Result type for nyquest HTTP operations.