You.i Engine
CYIHTTPHeader Class Reference

Detailed Description

A class respresenting an HTTP Header Field with a field-name and field-value as specified in https://httpwg.org/specs/rfc7230.html#header.fields.

This class also contains names of common HTTP Header Fields and Values for caching.

#include <network/YiHTTPHeader.h>

Classes

struct  CacheDirectives
 

Public Member Functions

 CYIHTTPHeader (const CYIString &name, const CYIString &value)
 
const CYIStringGetName () const
 
const CYIStringGetValue () const
 

Static Public Attributes

static const CYIString FIELD_CACHE_CONTROL
 
static const CYIString FIELD_PRAGMA
 

Constructor & Destructor Documentation

CYIHTTPHeader::CYIHTTPHeader ( const CYIString name,
const CYIString value 
)

Member Function Documentation

const CYIString& CYIHTTPHeader::GetName ( ) const

Returns the name of the header.

const CYIString& CYIHTTPHeader::GetValue ( ) const

Returns the value associated with the header.

Member Data Documentation

const CYIString CYIHTTPHeader::FIELD_CACHE_CONTROL
static

Represents the HTTP Standard 'Cache-Control' header field.

const CYIString CYIHTTPHeader::FIELD_PRAGMA
static

Represents the HTTP Standard 'Pragma' header field.


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