StatusLine.h
Go to the documentation of this file.
39 void set(const AnyP::ProtocolVersion &newVersion, Http::StatusCode newStatus, const char *newReason = nullptr);
Definition: ProtocolVersion.h:24
Definition: StatusLine.h:28
bool parse(const String &protoPrefix, const char *start, const char *end)
Definition: StatusLine.cc:124
AnyP::ProtocolVersion version
breakdown of protocol version label: (HTTP/ICY) and (0.9/1.0/1.1)
Definition: StatusLine.h:65
void resetReason()
reset the reason phrase to its default status code-derived value
Definition: StatusLine.h:42
void set(const AnyP::ProtocolVersion &newVersion, Http::StatusCode newStatus, const char *newReason=nullptr)
Definition: StatusLine.cc:35
const char * reason_
points to a constant string (default or supplied), never free()d
Definition: StatusLine.h:72
const char * reason() const
retrieve the reason string for this status line
Definition: StatusLine.cc:44
Http::StatusCode status() const
retrieve the status code for this status line
Definition: StatusLine.h:45
Definition: Packable.h:53
Definition: SquidString.h:26
Definition: forward.h:18