proxygen
proxygen::HTTPErrorPage::Page Struct Reference

#include <HTTPErrorPage.h>

Public Member Functions

 Page (const std::string &pageContentType, std::unique_ptr< folly::IOBuf > pageContent)
 
 Page (Page &&other) noexcept
 

Public Attributes

const std::string contentType
 
std::unique_ptr< folly::IOBufcontent
 

Detailed Description

Definition at line 27 of file HTTPErrorPage.h.

Constructor & Destructor Documentation

proxygen::HTTPErrorPage::Page::Page ( const std::string pageContentType,
std::unique_ptr< folly::IOBuf pageContent 
)
inline

Definition at line 28 of file HTTPErrorPage.h.

29  :
30  contentType(pageContentType), content(std::move(pageContent)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
const std::string contentType
Definition: HTTPErrorPage.h:37
std::unique_ptr< folly::IOBuf > content
Definition: HTTPErrorPage.h:38
proxygen::HTTPErrorPage::Page::Page ( Page &&  other)
inlinenoexcept

Definition at line 32 of file HTTPErrorPage.h.

32  :
33  contentType(other.contentType),
34  content(std::move(other.content)) {
35  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
const std::string contentType
Definition: HTTPErrorPage.h:37
std::unique_ptr< folly::IOBuf > content
Definition: HTTPErrorPage.h:38

Member Data Documentation

std::unique_ptr<folly::IOBuf> proxygen::HTTPErrorPage::Page::content
const std::string proxygen::HTTPErrorPage::Page::contentType

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