eckit::HttpHeader class

Constructors, destructors, conversion operators

HttpHeader()
HttpHeader(net::TCPSocket&)
~HttpHeader()

Public functions

auto operator=(std::map<std::string, std::string, std::less<std::string>>&) -> HttpHeader&
void length(const long)
auto contentLength() const -> long
void type(const std::string&)
void status(const long, const std::string& message = "")
void authenticate(const std::string&)
auto authenticated() const -> bool
void forward(const std::string&)
void dontCache()
void retryAfter(long)
auto type() const -> const std::string&
auto getHeader(const std::string&) const -> const std::string&
void setHeader(const std::string&, const std::string&)
void content(const char*, long)
auto content() const -> std::string
void checkForStatus() const

Friends

auto operator<<(std::ostream& s, const HttpHeader& p) -> std::ostream&