Hyperpage
 
Loading...
Searching...
No Matches
hyperpage::page Class Referenceabstract

#include <hyperpage.hpp>

Public Member Functions

virtual const std::string & get_path () const =0
 gets the URI path of the page.
 
virtual const std::string & get_mime_type () const =0
 gets the MIME type of the page.
 
virtual const uint8_t * get_content () const =0
 gets the content of the page.
 
virtual size_t get_length () const =0
 gets the content length of the page.
 

Member Function Documentation

◆ get_content()

virtual const uint8_t * hyperpage::page::get_content ( ) const
pure virtual

gets the content of the page.

Returns
a pointer to the content data.

◆ get_length()

virtual size_t hyperpage::page::get_length ( ) const
pure virtual

gets the content length of the page.

Returns
the length of the content in bytes.

◆ get_mime_type()

virtual const std::string & hyperpage::page::get_mime_type ( ) const
pure virtual

gets the MIME type of the page.

◆ get_path()

virtual const std::string & hyperpage::page::get_path ( ) const
pure virtual

gets the URI path of the page.


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