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

#include <typed_headers.hpp>

Inheritance diagram for http::header::Server:
http::header::TypedHeader

Public Member Functions

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

Public Attributes

const char * server
 Header's value. More...
 

Detailed Description

Server header, defined in RFC7231.

Constructor & Destructor Documentation

Server::Server ( const char *  name)
explicitnoexcept

Creates Server.

Parameters
nameServer's header value.

Member Function Documentation

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

Implements http::header::TypedHeader.

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

Implements http::header::TypedHeader.

Member Data Documentation

const char* http::header::Server::server

Header's value.


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