Initial repository load.

This commit is contained in:
barant committed 2019-07-10 14:19:33 -07:00
commit 604e196fbb
32 files changed
+945

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
#ifndef __IMFMessage_h__
#define __IMFMessage_h__
#include "PString.h"
#include "IMFHeader.h"
#include "IMFRequest.h"
#include "IMFBody.h"
namespace coreutils {
class IMFMessage {
public:
IMFMessage();
IMFMessage(PString &in);
void parse(PString &in);
void output(std::stringstream &out);
IMFRequest *request;
void addHeader(std::string key, std::string value);
std::string getHeader(std::string key, bool valueOnly = true);
std::string getHeaderKeyPairValue(std::string headerKey, std::string key);
IMFBody *body;
protected:
std::vector<IMFHeader> headers;
};
}
#endif