net-cpp  2.0.0
C++11 library for networking purposes
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

static constexpr const char * json
 
static constexpr const char * xml
 
static constexpr 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

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

Member Data Documentation

constexpr const char* core::net::http::ContentType::json
static
Initial value:
{
"application/json"
}

Definition at line 37 of file content_type.h.

constexpr const char* core::net::http::ContentType::x_www_form_urlencoded
static
Initial value:
{
"application/x-www-form-urlencoded"
}

Definition at line 47 of file content_type.h.

constexpr const char* core::net::http::ContentType::xml
static
Initial value:
{
"application/xml"
}

Definition at line 42 of file content_type.h.


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