HTTP mocking library for Rust that allows you to simulate HTTP servers and test HTTP clients.
# Cargo.toml
[dependencies]
httpmock = "0.8.3"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a mock HTTP server, defines a mock endpoint, and asserts the request was made.
Always use server.url() or server.base_url() to construct request URLs.
No dependency data recorded yet.