aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http/server/http_ex.h
diff options
context:
space:
mode:
authorvmordovin <vmordovin@yandex-team.ru>2022-02-10 16:48:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:14 +0300
commit6a1e535429145ec1ecfbc5f1efd3c95323261fb5 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/http/server/http_ex.h
parent7c7f9bbcf57e15838d15afa94b31d8254b5d7776 (diff)
downloadydb-6a1e535429145ec1ecfbc5f1efd3c95323261fb5.tar.gz
Restoring authorship annotation for <vmordovin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/http_ex.h')
-rw-r--r--library/cpp/http/server/http_ex.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/http/server/http_ex.h b/library/cpp/http/server/http_ex.h
index ba982796d3..1ef43ea4fd 100644
--- a/library/cpp/http/server/http_ex.h
+++ b/library/cpp/http/server/http_ex.h
@@ -5,24 +5,24 @@
#include <library/cpp/http/misc/httpreqdata.h>
class THttpClientRequestExtension: public TClientRequest {
-public:
- bool Parse(char* req, TBaseServerRequestData& rd);
- bool ProcessHeaders(TBaseServerRequestData& rd, TBlob& postData);
-};
+public:
+ bool Parse(char* req, TBaseServerRequestData& rd);
+ bool ProcessHeaders(TBaseServerRequestData& rd, TBlob& postData);
+};
-template <class TRequestData>
+template <class TRequestData>
class THttpClientRequestExtImpl: public THttpClientRequestExtension {
protected:
- bool Parse(char* req) {
- return THttpClientRequestExtension::Parse(req, RD);
- }
- bool ProcessHeaders() {
- return THttpClientRequestExtension::ProcessHeaders(RD, Buf);
- }
+ bool Parse(char* req) {
+ return THttpClientRequestExtension::Parse(req, RD);
+ }
+ bool ProcessHeaders() {
+ return THttpClientRequestExtension::ProcessHeaders(RD, Buf);
+ }
-protected:
- TRequestData RD;
+protected:
+ TRequestData RD;
TBlob Buf;
};
-
-using THttpClientRequestEx = THttpClientRequestExtImpl<TServerRequestData>;
+
+using THttpClientRequestEx = THttpClientRequestExtImpl<TServerRequestData>;