4 #ifndef RUDIMENTS_HTTPREQUEST_H 5 #define RUDIMENTS_HTTPREQUEST_H 7 #include <rudiments/private/httprequestincludes.h> 21 virtual void dumpVariables();
26 const char *getEnvironmentVariable(
const char *name);
29 uint64_t getEnvironmentVariableCount();
32 const char *
const *getEnvironmentVariables();
36 const char *
const *getEnvironmentValues();
41 bool setEnvironmentVariable(
const char *name,
46 void dumpEnvironment();
51 const char *getParameter(
const char *name);
57 void getParametersAsGetString(
output *container,
58 const char *
const *exceptions);
65 void getParametersAsHiddenVariables(
output *container,
66 const char *
const *excepcions);
69 uint64_t getParameterCount();
74 const char *
const *getParameterVariables();
78 const char *
const *getParameterValues();
83 bool setParameter(
const char *name,
const char *value);
89 const char *getFileParameterFilename(
const char *name);
93 const char *getFileParameterTempFilename(
const char *name);
96 const char *getFileParameterMimeType(
const char *name);
99 uint64_t getFileCount();
104 const char *
const *getFileNames();
110 bool setFileParameter(
const char *name,
111 const char *filename,
112 const char *tempfilename,
113 const char *mimetype);
117 void removeTempFiles();
122 const char *getCookie(
const char *name);
125 uint64_t getCookieCount();
130 const char *
const *getCookieVariables();
134 const char *
const *getCookieValues();
139 bool setCookie(
const char *name,
const char *value);
145 uint64_t getAllVariableCount();
150 const char *
const *getAllVariables();
154 const char *
const *getAllValues();
163 virtual bool methodAllowed(
const char *deniedmethods,
164 const char *allowedmethods);
173 virtual bool ipAllowed(
const char *deniedips,
174 const char *allowedips);
183 virtual bool refererAllowed(
const char *deniedreferers,
184 const char *allowedreferers);
188 const char *variable;
215 #include <rudiments/private/httprequest.h> Definition: httpserverapi.h:9
Definition: httprequest.h:187
Definition: httprequest.h:12