1
0
Fork 0
forked from blue/pica

first couple of requests

This commit is contained in:
Blue 2023-11-23 16:57:32 -03:00
parent 68e795f0e6
commit aae7873d67
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 152 additions and 34 deletions

View file

@ -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;