net-cpp: core::net::http::ContentType Struct Reference

net-cpp .. C++11 library for networking purposes

Public Member Functions | Static Public Attributes | List of all members
core::net::http::ContentType Struct Reference

Collection of known content types. More...

`#include <content_type.h>`

Collaboration diagram for core::net::http::ContentType:

## Public Member Functions
| ContentType ()=delete

## Static Public Attributes
constexpr static const char * | json
constexpr static const char * | xml
constexpr static const char * | x_www_form_urlencoded

## Detailed Description

Collection of known content types.

Definition at line 32 of file content_type.h.

## Constructor & Destructor Documentation

## ◆ ContentType()

core::net::http::ContentType::ContentType | ( |  | ) |
| delete

## Member Data Documentation

## ◆ json

constexpr static const char* core::net::http::ContentType::json
| staticconstexpr

Initial value:
{
"application/json"
}

Definition at line 36 of file content_type.h.

## ◆ x_www_form_urlencoded

constexpr static const char* core::net::http::ContentType::x_www_form_urlencoded
| staticconstexpr

Initial value:
{
"application/x-www-form-urlencoded"
}

Definition at line 46 of file content_type.h.

## ◆ xml

constexpr static const char* core::net::http::ContentType::xml
| staticconstexpr

Initial value:
{
"application/xml"
}

Definition at line 41 of file content_type.h.

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

- /home/odroid/lomiri/net-cpp-git/src/net-cpp/include/core/net/http/content_type.h