Initial quantum compute and cleaning up win server.
This commit is contained in:
parent
af50eea208
commit
5362b694e0
45 changed files with 884 additions and 429 deletions
|
@ -7,13 +7,31 @@
|
|||
class HttpRequest
|
||||
{
|
||||
public:
|
||||
|
||||
enum class Verb
|
||||
{
|
||||
GET,
|
||||
PUT,
|
||||
POST,
|
||||
PATCH,
|
||||
_DELETE,
|
||||
UNKNOWN
|
||||
};
|
||||
|
||||
HttpRequest() = default;
|
||||
|
||||
HttpRequest(Verb verb, const std::string& path);
|
||||
|
||||
Verb getVerb() const;
|
||||
|
||||
std::string getPath() const;
|
||||
|
||||
void parseMessage(const std::string& message);
|
||||
|
||||
private:
|
||||
void parseFirstLine(const std::string& line);
|
||||
|
||||
Verb mVerb = Verb::UNKNOWN;
|
||||
HttpHeader mHeader;
|
||||
std::string mMethod;
|
||||
std::string mPath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue