22 lines
305 B
C
22 lines
305 B
C
|
#pragma once
|
||
|
|
||
|
#include <iostream>
|
||
|
#include <string>
|
||
|
|
||
|
#include <fcgiapp.h>
|
||
|
#include <fcgio.h>
|
||
|
|
||
|
class Server {
|
||
|
public:
|
||
|
Server();
|
||
|
~Server();
|
||
|
|
||
|
void handleRequest(FCGX_Request& request);
|
||
|
|
||
|
private:
|
||
|
void printEnv(std::ostream& out, FCGX_Request& request);
|
||
|
|
||
|
private:
|
||
|
uint64_t requestCount;
|
||
|
};
|