Skip to main content

Module client

Module client 

Source
Expand description

HTTP client for making test API requests. API Client for testing

Similar to DRF’s APIClient, provides methods for making test requests with authentication, cookies, and headers support.

Structs§

APIClient
Test client for making API requests
APIClientBuilder
Builder for creating APIClient with custom configuration

Enums§

ClientError
Errors that can occur when using the API test client.
HttpVersion
HTTP version configuration for APIClient

Type Aliases§

ClientResult
Result type for API client operations.
RequestHandler
Type alias for request handler function