More development on the messaging.
This commit is contained in:
1 parent
f4496fc682
commit
591705f897
5 files changed
+12
-15
No files matched your search
+6
-6
@@ -9,22 +9,22 @@
|
||||
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 *getBody();
|
||||
|
||||
IMFBody *getBody();
|
||||
|
||||
protected:
|
||||
std::vector<IMFHeader> headers;
|
||||
|
||||
Reference in new issue
Block a user