Expand description
Core test client for Spikard applications
This module provides a language-agnostic TestClient that can be wrapped by language bindings (PyO3, napi-rs, magnus) to provide Pythonic, JavaScripty, and Ruby-like APIs respectively.
The core client handles all HTTP method dispatch, query params, header management, body encoding (JSON, form-data, multipart), and response snapshot capture.
Structs§
- Test
Client - Core test client for making HTTP requests to a Spikard application.
Functions§
- build_
graphql_ body - Build a GraphQL request body from query, variables, and operation name