MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::http::ErrorWithHttpHeaders Class Reference

#include <error.h>

Inheritance diagram for mrs::http::ErrorWithHttpHeaders:
[legend]

Public Types

using Headers = std::vector< std::pair< std::string, std::string > >
 

Public Member Functions

 ErrorWithHttpHeaders (HttpStatusCode::key_type status_code, Headers headers)
 
const char * name () const override
 
bool retry () const override
 
Error change_response (::http::base::Request *request) const override
 
- Public Member Functions inherited from mrs::http::ErrorChangeResponse
virtual ~ErrorChangeResponse ()
 

Private Attributes

HttpStatusCode::key_type status_code_
 
Headers headers_
 

Member Typedef Documentation

◆ Headers

using mrs::http::ErrorWithHttpHeaders::Headers = std::vector<std::pair<std::string, std::string> >

Constructor & Destructor Documentation

◆ ErrorWithHttpHeaders()

mrs::http::ErrorWithHttpHeaders::ErrorWithHttpHeaders ( HttpStatusCode::key_type  status_code,
Headers  headers 
)
inline

Member Function Documentation

◆ change_response()

Error mrs::http::ErrorWithHttpHeaders::change_response ( ::http::base::Request request) const
inlineoverridevirtual

◆ name()

const char * mrs::http::ErrorWithHttpHeaders::name ( ) const
inlineoverridevirtual

◆ retry()

bool mrs::http::ErrorWithHttpHeaders::retry ( ) const
inlineoverridevirtual

Member Data Documentation

◆ headers_

Headers mrs::http::ErrorWithHttpHeaders::headers_
private

◆ status_code_

HttpStatusCode::key_type mrs::http::ErrorWithHttpHeaders::status_code_
private

The documentation for this class was generated from the following file: