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< SERVER_CLASS > Class Template Reference

#include <http_chomik.h>

Inheritance diagram for http_chomik::wrapper< SERVER_CLASS >:
Collaboration diagram for http_chomik::wrapper< SERVER_CLASS >:

Protected Member Functions

virtual void create_a_new_server (std::unique_ptr< server > &target, int sock) override
 
- Protected Member Functions inherited from http_chomik::wrapper_base
virtual void process (const std::string &uri, std::ostream &message_stream, std::string &response_type, std::unique_ptr< http_chomik::server > &my_server)
 

Additional Inherited Members

- Static Public Member Functions inherited from http_chomik::wrapper_base
static void do_processing_client (int sock, wrapper_base &my_wrapper)
 

Detailed Description

template<typename SERVER_CLASS>
class http_chomik::wrapper< SERVER_CLASS >

You may use this template for any server class provided it takes only the socket number in its constructor. You may also inherit the wrapper_base and provide your own implementation of the wrapper_base::create_a_new_server.

Member Function Documentation

◆ create_a_new_server()

template<typename SERVER_CLASS >
virtual void http_chomik::wrapper< SERVER_CLASS >::create_a_new_server ( std::unique_ptr< server > & target,
int sock )
inlineoverrideprotectedvirtual

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

copyright by Pawel Biernacki

Vantaa 2022