mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Move sources to src and build objs in obj.
This commit is contained in:
24
src/HttpRequest.h
Normal file
24
src/HttpRequest.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef HTTP_REQUEST_HPP
|
||||
#define HTTP_REQUEST_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
struct HttpHeader
|
||||
{
|
||||
std::string name;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
/// A request received from a client.
|
||||
struct HttpRequest
|
||||
{
|
||||
std::string method;
|
||||
std::string uri;
|
||||
int http_version_major;
|
||||
int http_version_minor;
|
||||
std::vector<HttpHeader> headers;
|
||||
std::string mBody;
|
||||
};
|
||||
|
||||
#endif // HTTP_REQUEST_HPP
|
||||
Reference in New Issue
Block a user