[−][src]Trait http_cache_semantics::RequestLike
Allows using either Request or request::Parts, or your own newtype.
Required methods
fn uri(&self) -> Uri
Same as req.uri().clone()
fn is_same_uri(&self, other: &Uri) -> bool
Whether the effective request URI matches the other URI
It can be naive string comparison, nothing fancy
fn method(&self) -> &Method
Same as req.method()
fn headers(&self) -> &HeaderMap
Same as req.headers()