#include <fancy_http_chomik.h>
◆ server()
fancy_http_chomik::server::server |
( |
int | s | ) |
|
|
inline |
◆ add_html_body()
virtual void fancy_http_chomik::server::add_html_body |
( |
std::ostream & | message_stream | ) |
|
|
overrideprotectedvirtual |
You may also change the whole body HTML by redefining this method.
Reimplemented from http_chomik::server.
◆ add_html_body_for_code()
virtual void fancy_http_chomik::server::add_html_body_for_code |
( |
std::ostream & | message_stream, |
|
|
const std::string & | decoded_code, |
|
|
std::stringstream & | error_stream, |
|
|
std::stringstream & | error_stream2 ) |
|
protectedvirtual |
◆ add_html_body_for_incorrect_uri()
virtual void fancy_http_chomik::server::add_html_body_for_incorrect_uri |
( |
std::ostream & | message_stream | ) |
|
|
overrideprotectedvirtual |
This method can be used to redefine the whole document body when handling incorrect URI.
Reimplemented from http_chomik::server.
◆ add_html_common_scripts()
void fancy_http_chomik::server::add_html_common_scripts |
( |
std::ostream & | message_stream | ) |
|
|
protected |
◆ add_html_default_chomik_code()
virtual void fancy_http_chomik::server::add_html_default_chomik_code |
( |
std::ostream & | message_stream | ) |
|
|
overrideprotectedvirtual |
◆ add_html_head_content()
virtual void fancy_http_chomik::server::add_html_head_content |
( |
std::ostream & | message_stream | ) |
|
|
overrideprotectedvirtual |
Feel free to override this function if you wish another code in the HTML head. Consider invoking the original version.
Reimplemented from http_chomik::server.
◆ add_html_navbar()
void fancy_http_chomik::server::add_html_navbar |
( |
std::ostream & | message_stream | ) |
|
|
protected |
The documentation for this class was generated from the following file: