userver: userver/http/content_type.hpp File Reference
Loading...
Searching...
No Matches
content_type.hpp File Reference

Detailed Description

Content-Type representation.

Definition in file content_type.hpp.

Go to the source code of this file.

#include <iosfwd>
#include <stdexcept>
#include <string>
#include <string_view>
#include <userver/utils/str_icase.hpp>
+ Include dependency graph for content_type.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  http::MalformedContentType
 Content-Type parsing error. More...
 
class  http::ContentType
 Content-Type representation. More...
 
class  http::ContentTypeHash
 

Namespaces

namespace  http
 HTTP helpers.
 

Functions

bool http::operator== (const ContentType &, const ContentType &)
 
bool http::operator!= (const ContentType &, const ContentType &)
 
bool http::operator< (const ContentType &, const ContentType &)
 
std::ostream & http::operator<< (std::ostream &, const ContentType &)
 

Variables

const ContentType http::content_type::kApplicationOctetStream
 
const ContentType http::content_type::kApplicationJson
 
const ContentType http::content_type::kTextPlain