MCPcopy Create free account
hub / github.com/d0iasm/saba / HttpResponse

Class HttpResponse

core/src/http.rs:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26#[derive(Debug, Clone)]
27pub struct HttpResponse {
28 version: String,
29 status_code: u32,
30 reason: String,
31 headers: Vec<Header>,
32 pub body: String,
33}
34
35/// https://datatracker.ietf.org/doc/html/rfc7230#section-3
36/// HTTP-message = start-line

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected