first couple of requests
This commit is contained in:
parent
68e795f0e6
commit
aae7873d67
11 changed files with 152 additions and 34 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <fcgiapp.h>
|
||||
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "stream/ostream.h"
|
||||
|
||||
class Request {
|
||||
|
@ -30,9 +32,10 @@ public:
|
|||
OStream getOutputStream();
|
||||
OStream getErrorStream();
|
||||
|
||||
std::string_view getPath(const std::string& serverName) const;
|
||||
std::string getPath(const std::string& serverName) const;
|
||||
std::string getServerName() const;
|
||||
void printEnvironment(std::ostream& out);
|
||||
void printEnvironment(nlohmann::json& out);
|
||||
|
||||
private:
|
||||
State state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue