Massive update!
[link.git] / Source / Headers / Headers.hpp
blobcb191fcf2bf7dbba11b52b57791bd69214e9b1a9
1 #ifndef Headers
2 #include <iostream>
3 #include <string.h>
4 #include <vector>
6 /*
7 * HTTP Headers.
8 */
9 class Headers {
10 public:
11 Headers(int ClientSocket);
12 void Send(std::string Message),
13 SendFile(std::string FilePath),
14 SetStatus(std::string Status),
15 SetRequest(std::string Request),
16 SetResponse(std::string Response);
17 private:
18 int ClientSocket;
19 std::string Status = "200 OK", RequestHeaders = "", ResponseHeaders = "", Body = "";
22 #endif