chomik 0.2.1
experimental and minimalistic programming language

My name is Pawel Biernacki.
I am a software engineer.
This site is my hobby project.

Loading...
Searching...
No Matches
http_chomik::wrapper_base Class Referenceabstract

#include <http_chomik.h>

Inheritance diagram for http_chomik::wrapper_base:

Static Public Member Functions

static void do_processing_client (int sock, wrapper_base &my_wrapper)
 

Protected Member Functions

virtual void create_a_new_server (std::unique_ptr< server > &target, int sock)=0
 
virtual void process (const std::string &uri, std::ostream &message_stream, std::string &response_type, std::unique_ptr< http_chomik::server > &my_server)
 

Member Function Documentation

◆ create_a_new_server()

virtual void http_chomik::wrapper_base::create_a_new_server ( std::unique_ptr< server > & target,
int sock )
protectedpure virtual

◆ do_processing_client()

static void http_chomik::wrapper_base::do_processing_client ( int sock,
wrapper_base & my_wrapper )
static

◆ process()

virtual void http_chomik::wrapper_base::process ( const std::string & uri,
std::ostream & message_stream,
std::string & response_type,
std::unique_ptr< http_chomik::server > & my_server )
protectedvirtual

You may override this method in your own wrappers to handle multiple URIs. Please call also the original version (i.e. wrapper_base::process).


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

copyright by Pawel Biernacki

Vantaa 2022