## Class preforked_server

zeep::http::preforked_server

## Synopsis

    // In header: </build/libzeep-8SPbhu/libzeep-3.0.5/zeep/http/preforked-server.hpp>

    class preforked_server {
    public:
      // construct/copy/destruct
      preforked_server(const preforked_server &) = delete;
      preforked_server(std::function< server *(void)>);
      preforked_server & operator=(const preforked_server &) = delete;
      ~preforked_server();

      // public member functions
      virtual void run(const std::string &, short, int);
      virtual void start();
      virtual void stop();
    };

## Description

### `preforked_server` public construct/copy/destruct

1.     preforked_server(const preforked_server &) = delete;

2.     preforked_server(std::function< server *(void)> server_factory);

3.     preforked_server & operator=(const preforked_server &) = delete;

4.     ~preforked_server();

### `preforked_server` public member functions

1.     virtual void run(const std::string & address, short port, int nr_of_threads);

   forks child and starts listening, should be a separate thread

2.     virtual void start();

   signal the thread it can start listening:

3.     virtual void stop();

   stop the running thread