Available on crate feature
http only.Expand description
Mock HTTP client for tests (http_mock::RestClientMock).
Mock HTTP client for tests — Rhai-compatible drop-in for crate::http::RestClient.
Configure expected path/method → return_obj mappings and register via
httpmock_rhai_register instead of crate::http::http_rhai_register.
Structs§
- Http
Mock Item - Rest
Client Mock - In-memory mock that answers
get/post/… from a pre-configured list. See module docs.