Skip to content
Snippets Groups Projects
Commit 8c92c418 authored by Sergey Linev's avatar Sergey Linev
Browse files

[http] make THttpCallArg::ReplaceAllinContent public

Up to now was used in internal ROOT methods, but now can be reused 
to modify already prepared http reply in RWebWindow
parent c06f3537
No related branches found
No related tags found
No related merge requests found
...@@ -61,8 +61,6 @@ protected: ...@@ -61,8 +61,6 @@ protected:
TString CountHeader(const TString &buf, Int_t number = -1111) const; TString CountHeader(const TString &buf, Int_t number = -1111) const;
void ReplaceAllinContent(const std::string &from, const std::string &to, bool once = false);
/** Method used to modify content of web page used by web socket handler */ /** Method used to modify content of web page used by web socket handler */
virtual void CheckWSPageContent(THttpWSHandler *) {} virtual void CheckWSPageContent(THttpWSHandler *) {}
...@@ -201,6 +199,7 @@ public: ...@@ -201,6 +199,7 @@ public:
void SetContent(const char *cont); void SetContent(const char *cont);
void SetContent(std::string &&cont); void SetContent(std::string &&cont);
void ReplaceAllinContent(const std::string &from, const std::string &to, bool once = false);
Bool_t CompressWithGzip(); Bool_t CompressWithGzip();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment