#pragma once #include "headers.h" #include "response_headers_builder.h" namespace Envoy { namespace Platform { class ResponseHeadersBuilder; class ResponseHeaders : public Headers { public: int http_status() const; ResponseHeadersBuilder to_response_headers_builder(); private: ResponseHeaders(RawHeaderMap headers) : Headers(std::move(headers)) {} friend class ResponseHeadersBuilder; }; using ResponseHeadersSharedPtr = std::shared_ptr; } // namespace Platform } // namespace Envoy