Apache Mesos
Public Member Functions | List of all members
process::http::BadRequest Struct Reference

#include <http.hpp>

Inheritance diagram for process::http::BadRequest:
process::http::Response

Public Member Functions

 BadRequest ()
 
 BadRequest (std::string body)
 
- Public Member Functions inherited from process::http::Response
 Response ()
 
 Response (uint16_t _code)
 
 Response (std::string _body, uint16_t _code, const std::string &contentType="text/plain; charset=utf-8")
 

Additional Inherited Members

- Public Types inherited from process::http::Response
enum  { NONE, BODY, PATH, PIPE }
 
- Public Attributes inherited from process::http::Response
std::string status
 
Headers headers
 
enum process::http::Response:: { ... }  type
 
std::string body
 
std::string path
 
Option< Pipe::Readerreader
 
uint16_t code
 

Constructor & Destructor Documentation

process::http::BadRequest::BadRequest ( )
inline
process::http::BadRequest::BadRequest ( std::string  body)
inlineexplicit

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