Added vscode
This commit is contained in:
1 parent
6894968732
commit
c00476719c
10 files changed
+183
-158
No files matched your search
+13
-10
@@ -9,29 +9,32 @@
|
||||
namespace coreutils {
|
||||
|
||||
class IMFMessage {
|
||||
|
||||
|
||||
public:
|
||||
IMFMessage();
|
||||
IMFMessage(PString &in);
|
||||
|
||||
|
||||
bool 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();
|
||||
|
||||
|
||||
protected:
|
||||
IMFRequest request;
|
||||
std::vector<IMFHeader> headers;
|
||||
IMFBody *body;
|
||||
|
||||
|
||||
private:
|
||||
bool first = true;
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user