ゴミ箱
Public Member Functions | Public Attributes | List of all members
http::header::UserAgent Class Reference

#include <typed_headers.hpp>

Inheritance diagram for http::header::UserAgent:
http::header::TypedHeader

Public Member Functions

 UserAgent (const char *name) noexcept
 
boost::beast::string_view name () const override
 
std::string value () const override
 

Public Attributes

const char * agent
 UserAgent's value. More...
 

Detailed Description

Content-Type header, defined in RFC7231.

Constructor & Destructor Documentation

UserAgent::UserAgent ( const char *  name)
explicitnoexcept

Creates UserAgent.

Parameters
nameUserAgent's header value.

Member Function Documentation

boost::beast::string_view UserAgent::name ( ) const
overridevirtual
Returns
HTTP header name

Implements http::header::TypedHeader.

std::string UserAgent::value ( ) const
overridevirtual
Returns
HTTP header value

Implements http::header::TypedHeader.

Member Data Documentation

const char* http::header::UserAgent::agent

UserAgent's value.


The documentation for this class was generated from the following files: