|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
HTTP内容类型定义 更多...
#include <http_constants.hpp>
Public 成员函数 | |
| http_content (http_content &&other) noexcept | |
| 移动构造函数 | |
| http_content & | operator= (http_content &&other) noexcept |
| 移动赋值运算符 | |
| http_content (const string &content) | |
| 字符串构造函数 | |
| http_content & | operator= (const string &content) |
| 字符串赋值运算符 | |
| NEFORCE_NODISCARD const string & | content () const &noexcept |
| 获取左值内容 | |
| NEFORCE_NODISCARD string | content () &&noexcept |
| 获取右值内容 | |
| NEFORCE_NODISCARD string | to_string () const |
| 转换为字符串 | |
| Public 成员函数 继承自 istringify< http_content > | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 string | to_string () const |
| 转换为字符串 | |
静态 Public 成员函数 | |
| static const http_content & | HTML_TEXT () |
| text/html | |
| static const http_content & | XML_TEXT () |
| text/xml | |
| static const http_content & | CSS_TEXT () |
| text/css | |
| static const http_content & | PLAIN_TEXT () |
| text/plain | |
| static const http_content & | JSON_APP () |
| application/json | |
| static const http_content & | FORM_APP () |
| application/x-www-form-urlencoded | |
| static const http_content & | JPEG_IMG () |
| image/jpeg | |
| static const http_content & | PNG_IMG () |
| image/png | |
| static const http_content & | BMP_IMG () |
| image/bmp | |
| static const http_content & | WEBP_IMG () |
| image/webp | |
| static const http_content & | HTML_MSG () |
| message/html | |
|
inlinenoexcept |
|
inlineexplicit |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |