Trait body_image::Recorded
[−]
[src]
pub trait Recorded: RequestRecorded { fn res_headers(&self) -> &HeaderMap; fn res_body(&self) -> &BodyImage; }
Access by reference for HTTP request (via RequestRecorded
) and response
recording types.
Required Methods
fn res_headers(&self) -> &HeaderMap
Map of HTTP response headers.
fn res_body(&self) -> &BodyImage
Response body which may or may not be RAM resident.