MCPcopy Create free account
hub / github.com/06chaynes/http-cache / MockService

Class MockService

http-cache-tower/examples/hyper_basic.rs:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16/// Simple mock service that simulates HTTP responses
17#[derive(Clone)]
18struct MockService {
19 request_count: std::sync::Arc<std::sync::atomic::AtomicU32>,
20}
21
22impl MockService {
23 fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected